Changeset 14059 for trunk/ippTools/src/regtoolConfig.c
- Timestamp:
- Jul 6, 2007, 4:50:21 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/regtoolConfig.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/regtoolConfig.c
r14023 r14059 153 153 psMetadataAddStr(pendingexpArgs, PS_LIST_TAIL, "-exp_type", 0, 154 154 "search by exposure type", NULL); 155 psMetadataAddStr(pendingexpArgs, PS_LIST_TAIL, "-imfiles", 0,156 "search for exps with N imfiles", NULL);157 155 psMetadataAddU64(pendingexpArgs, PS_LIST_TAIL, "-limit", 0, 158 156 "limit result set to N items", 0); … … 176 174 psMetadataAddStr(addprocessedexpArgs, PS_LIST_TAIL, "-exp_type", 0, 177 175 "define exposure type", NULL); 178 psMetadataAddS32(addprocessedexpArgs, PS_LIST_TAIL, "-imfiles", 0,179 "define the number of imfiles in this exp (required)", 0);180 176 psMetadataAddStr(addprocessedexpArgs, PS_LIST_TAIL, "-filelevel", 0, 181 177 "define the data partitioning level of this file", NULL); … … 307 303 addWhereStr(telescope); 308 304 addWhereStr(exp_type); 309 {310 int imfiles = 0;311 bool status = false;312 if ((imfiles = psMetadataLookupS32(&status, config->args, "-imfiles"))) {313 if (!psMetadataAddS32(config->where, PS_LIST_TAIL, "imfiles", 0, "==", imfiles)) {314 psError(PXTOOLS_ERR_PROG, false, "failed to add item imfiles");315 psFree(config);316 return NULL;317 }318 }319 }320 305 addWhereStr(class); 321 306 addWhereStr(class_id);
Note:
See TracChangeset
for help on using the changeset viewer.
