Changeset 11818 for trunk/ippTools/src
- Timestamp:
- Feb 14, 2007, 5:55:48 PM (19 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 2 edited
-
difftool.c (modified) (3 diffs)
-
difftoolConfig.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/difftool.c
r11811 r11818 235 235 return false; 236 236 } 237 psString exp_tag = psMetadataLookupStr(&status, config->args, "-exp_tag");238 if (!status) {239 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -exp_tag");240 return false;241 }242 if (!exp_tag) {243 psError(PS_ERR_UNKNOWN, true, "-exp_tag is required");244 return false;245 }246 247 // defaults to 0248 psS32 p3_version = psMetadataLookupS32(&status, config->args, "-p3_version");249 if (!status) {250 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -p3_version");251 return false;252 }253 237 254 238 psString kind = psMetadataLookupStr(&status, config->args, "-kind"); … … 273 257 skycell_id, 274 258 tess_id, 275 exp_tag,276 p3_version,277 259 kind, 278 260 template … … 402 384 " AND p5InputScfile.skycell_id = p4Scfile.skycell_id\n" 403 385 " AND p5InputScfile.tess_id = p4Scfile.tess_id\n" 404 " AND p5InputScfile.exp_tag = p4Scfile.exp_tag\n"405 " AND p5InputScfile.p3_version = p4Scfile.p3_version\n"406 386 " LEFT JOIN p5DiffScfile\n" 407 387 " ON p5InputScfile.p5_id = p5DiffScfile.p5_id\n" -
trunk/ippTools/src/difftoolConfig.c
r11811 r11818 78 78 psMetadataAddStr(addinputscfileArgs, PS_LIST_TAIL, "-tess_id", 0, 79 79 "dfine tess ID", NULL); 80 psMetadataAddStr(addinputscfileArgs, PS_LIST_TAIL, "-exp_tag", 0,81 "define exposure tag (required)", NULL);82 psMetadataAddS32(addinputscfileArgs, PS_LIST_TAIL, "-p3_version", 0,83 "define phase 3 version of exposure tag (required)", 0);84 80 psMetadataAddStr(addinputscfileArgs, PS_LIST_TAIL, "-kind", 0, 85 81 "define kind", NULL); … … 97 93 psMetadataAddStr(inputscfileArgs, PS_LIST_TAIL, "-tess_id", 0, 98 94 "search by tess ID", NULL); 99 psMetadataAddStr(inputscfileArgs, PS_LIST_TAIL, "-exp_tag", 0,100 "search by exposure tag (required)", NULL);101 psMetadataAddS32(inputscfileArgs, PS_LIST_TAIL, "-p3_version", 0,102 "search by phase 3 version of exposure tag (required)", 0);103 95 psMetadataAddStr(inputscfileArgs, PS_LIST_TAIL, "-kind", 0, 104 96 "search by kind", NULL); … … 260 252 addWhereStr(skycell_id); 261 253 addWhereStr(tess_id); 262 addWhereStr(exp_tag);263 254 264 255 if (config->where->list->n < 1) {
Note:
See TracChangeset
for help on using the changeset viewer.
