Changeset 28249 for trunk/ippToPsps/src/ippToPsps.c
- Timestamp:
- Jun 7, 2010, 2:58:52 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/src/ippToPsps.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/src/ippToPsps.c
r28205 r28249 93 93 if (this->numOfInputFiles < 1) return false; 94 94 95 96 95 this->inputFiles = (char**)calloc(this->numOfInputFiles, sizeof(char*)); 97 96 for(uint32_t i=0; i<this->numOfInputFiles; i++) … … 145 144 psMetadataAddStr(arguments, PS_LIST_TAIL, "-expid", 0, "Exposure ID", NULL); 146 145 psMetadataAddStr(arguments, PS_LIST_TAIL, "-expname", 0, "Exposure name", NULL); 146 psMetadataAddStr(arguments, PS_LIST_TAIL, "-survey", 0, "Survey type", NULL); 147 147 psMetadataAddStr(arguments, PS_LIST_TAIL, "-input", 0, "Path to FITS inout", NULL); 148 148 psMetadataAddStr(arguments, PS_LIST_TAIL, "-output", 0, "Path to FITS output", NULL); … … 163 163 //free(tmp); tmp = NULL; 164 164 this->expName = psMemIncrRefCounter(psMetadataLookupStr(NULL, arguments, "-expname")); 165 this->surveyType = psMemIncrRefCounter(psMetadataLookupStr(NULL, arguments, "-survey")); 165 166 this->fitsInPath = psMemIncrRefCounter(psMetadataLookupStr(NULL, arguments, "-input")); 166 167 this->resultsPath = psMemIncrRefCounter(psMetadataLookupStr(NULL, arguments, "-results")); … … 179 180 if ( 180 181 (this->batchType != BATCH_INIT && !this->expName) || 182 (this->batchType != BATCH_INIT && !this->surveyType) || 181 183 (this->batchType != BATCH_INIT && !this->fitsInPath) || 182 184 (this->batchType != BATCH_INIT && !this->resultsPath) || … … 241 243 this->expId = -1; 242 244 this->expName = NULL; 245 this->surveyType = NULL; 243 246 this->fitsInPath = NULL; 244 247 this->resultsPath = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.
