Changeset 28484 for branches/pap/ippToPsps/src/ippToPsps.c
- Timestamp:
- Jun 24, 2010, 2:59:09 PM (16 years ago)
- Location:
- branches/pap
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippToPsps/src/ippToPsps.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap
- Property svn:mergeinfo changed
-
branches/pap/ippToPsps/src/ippToPsps.c
r27871 r28484 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++) … … 144 143 psMetadata *arguments = psMetadataAlloc(); 145 144 psMetadataAddStr(arguments, PS_LIST_TAIL, "-expid", 0, "Exposure ID", NULL); 145 psMetadataAddStr(arguments, PS_LIST_TAIL, "-expname", 0, "Exposure name", NULL); 146 psMetadataAddStr(arguments, PS_LIST_TAIL, "-survey", 0, "Survey type", 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")); 165 this->surveyType = psMemIncrRefCounter(psMetadataLookupStr(NULL, arguments, "-survey")); 163 166 this->fitsInPath = psMemIncrRefCounter(psMetadataLookupStr(NULL, arguments, "-input")); 164 167 this->resultsPath = psMemIncrRefCounter(psMetadataLookupStr(NULL, arguments, "-results")); … … 176 179 177 180 if ( 181 (this->batchType != BATCH_INIT && !this->expName) || 182 (this->batchType != BATCH_INIT && !this->surveyType) || 178 183 (this->batchType != BATCH_INIT && !this->fitsInPath) || 179 184 (this->batchType != BATCH_INIT && !this->resultsPath) || … … 237 242 238 243 this->expId = -1; 244 this->expName = NULL; 245 this->surveyType = NULL; 239 246 this->fitsInPath = NULL; 240 247 this->resultsPath = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.
