Changeset 28205 for trunk/ippToPsps/src/ippToPsps.c
- Timestamp:
- Jun 3, 2010, 3:33:37 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/src/ippToPsps.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/src/ippToPsps.c
r27871 r28205 144 144 psMetadata *arguments = psMetadataAlloc(); 145 145 psMetadataAddStr(arguments, PS_LIST_TAIL, "-expid", 0, "Exposure ID", NULL); 146 psMetadataAddStr(arguments, PS_LIST_TAIL, "-expname", 0, "Exposure name", NULL); 146 147 psMetadataAddStr(arguments, PS_LIST_TAIL, "-input", 0, "Path to FITS inout", NULL); 147 148 psMetadataAddStr(arguments, PS_LIST_TAIL, "-output", 0, "Path to FITS output", NULL); … … 161 162 if (tmp) this->expId = atoi(tmp); 162 163 //free(tmp); tmp = NULL; 164 this->expName = psMemIncrRefCounter(psMetadataLookupStr(NULL, arguments, "-expname")); 163 165 this->fitsInPath = psMemIncrRefCounter(psMetadataLookupStr(NULL, arguments, "-input")); 164 166 this->resultsPath = psMemIncrRefCounter(psMetadataLookupStr(NULL, arguments, "-results")); … … 176 178 177 179 if ( 180 (this->batchType != BATCH_INIT && !this->expName) || 178 181 (this->batchType != BATCH_INIT && !this->fitsInPath) || 179 182 (this->batchType != BATCH_INIT && !this->resultsPath) || … … 237 240 238 241 this->expId = -1; 242 this->expName = NULL; 239 243 this->fitsInPath = NULL; 240 244 this->resultsPath = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.
