- Timestamp:
- Dec 2, 2011, 11:44:07 AM (15 years ago)
- Location:
- branches/eam_branches/ipp-20111122/ippTools/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20111122/ippTools/src
- Property svn:mergeinfo changed
/trunk/ippTools/src (added) merged: 32764,32770-32771,32786,32832-32833
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20111122/ippTools/src/vptool.c
r32750 r32851 178 178 PXOPT_LOOKUP_S64(exp_id, config->args, "-exp_id", false, false); 179 179 180 psMetadata *where = psMetadataAlloc();181 pxchipGetSearchArgs (config, where); // rawExp only182 pxAddLabelSearchArgs (config, where, "-label", "newExp.label", "LIKE"); // define using newExp label183 184 if (!psListLength(where->list)) {185 psFree(where);186 psError(PXTOOLS_ERR_CONFIG, false, "search parameters are required");187 return false;188 }189 180 190 181 PXOPT_LOOKUP_STR(label, config->args, "-set_label", true, false); … … 195 186 196 187 // default 197 PXOPT_LOOKUP_BOOL( unique, config->args, "-unique", false);188 PXOPT_LOOKUP_BOOL(rerun, config->args, "-rerun", false); 198 189 PXOPT_LOOKUP_BOOL(pretend, config->args, "-pretend", false); 199 190 PXOPT_LOOKUP_BOOL(simple, config->args, "-simple", false); 191 192 psMetadata *where = psMetadataAlloc(); 193 pxchipGetSearchArgs (config, where); // rawExp only 194 pxAddLabelSearchArgs (config, where, "-label", "newExp.label", "="); // define using newExp label 195 196 if (!psListLength(where->list)) { 197 psFree(where); 198 psError(PXTOOLS_ERR_CONFIG, false, "search parameters are required"); 199 return false; 200 } 200 201 201 202 // find the exp_id of all the exposures that we want to queue up. … … 213 214 psFree(where); 214 215 215 if ( unique) {216 psStringAppend(&query, " AND vp_id IS NULL");216 if (!rerun) { 217 psStringAppend(&query, "\n AND vp_id IS NULL\n AND (vpRun.label = '%s' OR vpRun.label IS NULL)", label); 217 218 } 218 219
Note:
See TracChangeset
for help on using the changeset viewer.
