Changeset 28439 for branches/eam_branches/ipp-20100621/ippTools/src
- Timestamp:
- Jun 23, 2010, 2:29:49 PM (16 years ago)
- Location:
- branches/eam_branches/ipp-20100621/ippTools/src
- Files:
-
- 3 edited
-
diffphottool.c (modified) (2 diffs)
-
diffphottoolConfig.c (modified) (1 diff)
-
dqstatstool.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20100621/ippTools/src/diffphottool.c
r28412 r28439 371 371 PXOPT_LOOKUP_STR(ver_ppstats, config->args, "-ver_ppstats", false, false); 372 372 PXOPT_LOOKUP_STR(ver_psphot, config->args, "-ver_psphot", false, false); 373 PXOPT_LOOKUP_S64(magicked, config->args, "-magicked", false, false); 373 374 374 375 psString version = pxMergeCodeVersions(ver_pslib, ver_psmodules); … … 377 378 378 379 if (!diffPhotSkyfileInsert(config->dbh, diff_phot_id, skycell_id, path_base, dtime_script, hostname, 379 fault, quality, version )) {380 fault, quality, version, magicked)) { 380 381 psError(psErrorCodeLast(), false, "database error"); 381 382 return false; -
branches/eam_branches/ipp-20100621/ippTools/src/diffphottoolConfig.c
r28412 r28439 100 100 psMetadataAddStr(doneArgs, PS_LIST_TAIL, "-ver_ppstats", 0, "define ppStats version", NULL); 101 101 psMetadataAddStr(doneArgs, PS_LIST_TAIL, "-ver_psphot", 0, "define psphot version", NULL); 102 psMetadataAddS64(doneArgs, PS_LIST_TAIL, "-magicked", 0, "define magicked state", 0); 102 103 103 104 // -advance -
branches/eam_branches/ipp-20100621/ippTools/src/dqstatstool.c
r27304 r28439 85 85 86 86 if (label) { 87 PXOPT_COPY_STR(config->args, where, "-label", "camRun.label", "==");87 pxAddLabelSearchArgs (config, where, "-label", "camRun.label", "LIKE"); // define using cam label 88 88 } 89 89 // use psDBGenerateWhereConditionSQL because the SQL ends in a WHERE … … 654 654 psError(PS_EXIT_CONFIG_ERROR, false, "Unable to find max value for %s",colname); 655 655 return(false); 656 } 656 } 657 psString filter = psMetadataLookupStr(&status,rule,"FILTER"); 658 if (!status) { 659 status = true; 660 } 661 if (filter) { 662 psString imfilter = psMetadataLookupStr(&status,tableRow,"FILTER"); 663 if (strcmp(filter,imfilter) != 0) { 664 continue; 665 } 666 } 657 667 // Not happy with this being set to a F32. Can this ever be something else? 658 668 psF32 value = psMetadataLookupF32(&status,tableRow,colname);
Note:
See TracChangeset
for help on using the changeset viewer.
