Changeset 25689 for trunk/ippTools/src/warptool.c
- Timestamp:
- Sep 30, 2009, 1:37:14 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/warptool.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/warptool.c
r25682 r25689 1201 1201 PXOPT_COPY_TIME(config->args, where, "-dateobs_end", "rawExp.dateobs", "<="); 1202 1202 PXOPT_COPY_STR(config->args, where, "-filter", "rawExp.filter", "=="); 1203 1204 PXOPT_LOOKUP_BOOL(destreaked, config->args, "-destreaked", false); 1205 1203 PXOPT_COPY_S64(config->args, where, "-magicked", "warpSkyfile.magicked", "=="); 1204 1205 PXOPT_LOOKUP_U64(magicked, config->args, "-magicked", false, false); 1206 PXOPT_LOOKUP_BOOL(destreaked, config->args, "-destreaked", false); 1207 PXOPT_LOOKUP_BOOL(not_destreaked, config->args, "-not_destreaked", false); 1208 1209 PXOPT_LOOKUP_BOOL(all, config->args, "-all", false); 1206 1210 1207 1211 PXOPT_LOOKUP_U64(limit, config->args, "-limit", false, false); 1208 1212 PXOPT_LOOKUP_BOOL(simple, config->args, "-simple", false); 1209 PXOPT_LOOKUP_BOOL(all, config->args, "-all", false);1210 1213 1211 1214 // find all rawImfiles matching the default query … … 1226 1229 psFree(where); 1227 1230 1231 if (not_destreaked) { 1232 if (destreaked) { 1233 psError(PXTOOLS_ERR_DATA, true, "providing -not_destreaked and -destreaked makes no sense"); 1234 return false; 1235 } 1236 if (magicked) { 1237 psError(PXTOOLS_ERR_DATA, true, "providing -not_destreaked and -magicked makes no sense"); 1238 return false; 1239 } 1240 psStringAppend(&query, " AND warpSkyfile.magicked = 0"); 1241 } 1228 1242 if (destreaked) { 1229 1243 psStringAppend(&query, " AND warpSkyfile.magicked != 0");
Note:
See TracChangeset
for help on using the changeset viewer.
