Changeset 23688 for trunk/ippTools/src/camtool.c
- Timestamp:
- Apr 2, 2009, 2:51:37 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippTools/src/camtool.c (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/pap (added) merged: 23511,23520-23521,23532,23578-23581,23596-23599,23603-23604,23606-23608,23619-23621,23638-23639,23641,23646-23648,23651-23653,23656,23672-23674,23677-23684
- Property svn:mergeinfo changed
-
trunk/ippTools/src/camtool.c
r23616 r23688 468 468 469 469 PXOPT_LOOKUP_STR(path_base, config->args, "-path_base", false, false); 470 PXOPT_LOOKUP_S16(code, config->args, "-code", false, false); 470 PXOPT_LOOKUP_S16(fault, config->args, "-fault", false, false); 471 PXOPT_LOOKUP_S16(quality, config->args, "-quality", false, false); 471 472 472 473 // generate restrictions … … 533 534 zpt_lq, 534 535 zpt_uq, 535 fwhm_major,536 fwhm_major_lq,537 fwhm_major_uq,538 fwhm_minor,539 fwhm_minor_lq,540 fwhm_minor_uq,541 542 iq_fwhm_major,543 iq_fwhm_major_err,544 iq_fwhm_minor,545 iq_fwhm_minor_err,536 fwhm_major, 537 fwhm_major_lq, 538 fwhm_major_uq, 539 fwhm_minor, 540 fwhm_minor_lq, 541 fwhm_minor_uq, 542 543 iq_fwhm_major, 544 iq_fwhm_major_err, 545 iq_fwhm_minor, 546 iq_fwhm_minor_err, 546 547 547 548 iq_m2, … … 576 577 n_astrom, 577 578 path_base, 578 code 579 fault, 580 quality 579 581 ); 580 582 … … 599 601 600 602 // NULL for end_stage means go as far as possible 601 // EAM : skip here if code!= 0603 // EAM : skip here if fault != 0 602 604 // Also, we can run fake even if tess_id is not defined 603 if ( code|| (pendingRow->end_stage && psStrcasestr(pendingRow->end_stage, "cam"))) {605 if (fault || (pendingRow->end_stage && psStrcasestr(pendingRow->end_stage, "cam"))) { 604 606 psFree(row); 605 607 psFree(pendingRow); … … 745 747 PXOPT_COPY_STR(config->args, where, "-label", "camRun.label", "=="); 746 748 PXOPT_COPY_STR(config->args, where, "-reduction", "camRun.reduction", "=="); 747 PXOPT_COPY_S16(config->args, where, "- code","camProcessedExp.fault", "==");749 PXOPT_COPY_S16(config->args, where, "-fault", "camProcessedExp.fault", "=="); 748 750 749 751 if (!psListLength(where->list) && !psMetadataLookupBool(NULL, config->args, "-all")) { … … 833 835 PS_ASSERT_PTR_NON_NULL(config, false); 834 836 835 PXOPT_LOOKUP_S16( code, config->args, "-code", true, false);837 PXOPT_LOOKUP_S16(fault, config->args, "-fault", true, false); 836 838 837 839 psMetadata *where = psMetadataAlloc(); … … 841 843 PXOPT_COPY_STR(config->args, where, "-class_id", "class_id", "=="); 842 844 843 if (!pxSetFaultCode(config->dbh, "camProcessedExp", where, code)) {845 if (!pxSetFaultCode(config->dbh, "camProcessedExp", where, fault)) { 844 846 psError(PS_ERR_UNKNOWN, false, "failed to set set fault flag"); 845 847 psFree (where); … … 1114 1116 char sqlFilename[80]; 1115 1117 } ExportTable; 1116 1118 1117 1119 int numExportTables = 2; 1118 1120 … … 1194 1196 1195 1197 PS_ASSERT_PTR_NON_NULL(config, NULL); 1196 1198 1197 1199 PXOPT_LOOKUP_STR(infile, config->args, "-infile", true, false); 1198 1200 … … 1205 1207 psAssert (item, "entry not in input?"); 1206 1208 psAssert (item->type == PS_DATA_METADATA_MULTI, "entry not multi?"); 1207 1209 1208 1210 psMetadataItem *entry = psListGet (item->data.list, 0); 1209 1211 assert (entry); … … 1214 1216 // fprintf (stdout, "---- cam run ----\n"); 1215 1217 // psMetadataPrint (stderr, entry->data.md, 1); 1216 1218 1217 1219 item = psMetadataLookup (input, "camProcessedImfile"); 1218 1220 psAssert (item, "entry not in input?");
Note:
See TracChangeset
for help on using the changeset viewer.
