IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 2, 2009, 2:51:37 PM (17 years ago)
Author:
Paul Price
Message:

Merging in branches/pap/ from r23685. Some conflicts, most notably in ippTools, but these resolved fairly simply. Only question mark is on regtool reversion, but I think I got it right. Everything builds fine.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/ippTools/src/camtool.c

    r23616 r23688  
    468468
    469469    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);
    471472
    472473    // generate restrictions
     
    533534        zpt_lq,
    534535        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,
    546547
    547548        iq_m2,
     
    576577        n_astrom,
    577578        path_base,
    578         code
     579        fault,
     580        quality
    579581        );
    580582
     
    599601
    600602    // NULL for end_stage means go as far as possible
    601     // EAM : skip here if code != 0
     603    // EAM : skip here if fault != 0
    602604    // 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"))) {
    604606        psFree(row);
    605607        psFree(pendingRow);
     
    745747    PXOPT_COPY_STR(config->args, where, "-label",     "camRun.label",          "==");
    746748    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", "==");
    748750
    749751    if (!psListLength(where->list) && !psMetadataLookupBool(NULL, config->args, "-all")) {
     
    833835    PS_ASSERT_PTR_NON_NULL(config, false);
    834836
    835     PXOPT_LOOKUP_S16(code, config->args, "-code", true, false);
     837    PXOPT_LOOKUP_S16(fault, config->args, "-fault", true, false);
    836838
    837839    psMetadata *where = psMetadataAlloc();
     
    841843    PXOPT_COPY_STR(config->args, where, "-class_id", "class_id", "==");
    842844
    843     if (!pxSetFaultCode(config->dbh, "camProcessedExp", where, code)) {
     845    if (!pxSetFaultCode(config->dbh, "camProcessedExp", where, fault)) {
    844846        psError(PS_ERR_UNKNOWN, false, "failed to set set fault flag");
    845847        psFree (where);
     
    11141116    char sqlFilename[80];
    11151117  } ExportTable;
    1116  
     1118
    11171119  int numExportTables = 2;
    11181120
     
    11941196
    11951197  PS_ASSERT_PTR_NON_NULL(config, NULL);
    1196  
     1198
    11971199  PXOPT_LOOKUP_STR(infile, config->args, "-infile", true,  false);
    11981200
     
    12051207  psAssert (item, "entry not in input?");
    12061208  psAssert (item->type == PS_DATA_METADATA_MULTI, "entry not multi?");
    1207  
     1209
    12081210  psMetadataItem *entry = psListGet (item->data.list, 0);
    12091211  assert (entry);
     
    12141216  // fprintf (stdout, "---- cam run ----\n");
    12151217  // psMetadataPrint (stderr, entry->data.md, 1);
    1216  
     1218
    12171219  item = psMetadataLookup (input, "camProcessedImfile");
    12181220  psAssert (item, "entry not in input?");
Note: See TracChangeset for help on using the changeset viewer.