Changeset 9417 for trunk/ippTools/src
- Timestamp:
- Oct 9, 2006, 11:43:26 AM (20 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 2 edited
-
dettool.c (modified) (2 diffs)
-
dettoolConfig.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/dettool.c
r9413 r9417 1430 1430 " JOIN detRun" 1431 1431 " ON detRun.position = detProcessedImfile.det_id" 1432 " JOIN detInputExp" 1433 " ON detRun.position = detInputExp.det_id" 1434 " AND detRun.iteration = detInputExp.iteration" 1432 1435 " WHERE" 1433 1436 " detRun.state = 'run'" … … 1438 1441 psStringAppend(&query, " AND %s", whereClause); 1439 1442 psFree(whereClause); 1443 } 1444 1445 { 1446 bool status = false; 1447 bool included = psMetadataLookupBool(&status, config->args, "-included"); 1448 if (!status) { 1449 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -simple"); 1450 return false; 1451 } 1452 // restrict search to included imfiles 1453 if (included) { 1454 psStringAppend(&query, " AND detInputExp.include = 1"); 1455 } 1440 1456 } 1441 1457 -
trunk/ippTools/src/dettoolConfig.c
r9392 r9417 153 153 psMetadataAddBool(processedimfileArgs, PS_LIST_TAIL, "-exp", 0, 154 154 "restrict results to complete 'exposures'", false); 155 psMetadataAddBool(processedimfileArgs, PS_LIST_TAIL, "-included", 0, 156 "restrict results to exposures 'includeded' in the current iteration", false); 155 157 psMetadataAddBool(processedimfileArgs, PS_LIST_TAIL, "-simple", 0, 156 158 "use the simple output format", false);
Note:
See TracChangeset
for help on using the changeset viewer.
