IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 25, 2009, 12:48:19 PM (17 years ago)
Author:
Paul Price
Message:

Adding quality flag to raw, chip, cam, warp, stack, diff product tables. Renaming '-code' flag in the ippTools to '-fault' (clearer meaning, reduces confusion between fault code and quality code).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap/ippTools/src/dettool_stack.c

    r19092 r23532  
    127127    PXOPT_LOOKUP_STR(class_id, config->args, "-class_id", true, false);
    128128
    129     PXOPT_LOOKUP_S16(code, config->args, "-code", false, false);
    130 
    131     // Required if code == 0
    132     PXOPT_LOOKUP_STR(uri, config->args, "-uri", (code == 0), false);
    133     PXOPT_LOOKUP_STR(recipe, config->args, "-recip", (code == 0), false);
     129    PXOPT_LOOKUP_S16(fault, config->args, "-fault", false, false);
     130
     131    // Required if fault == 0
     132    PXOPT_LOOKUP_STR(uri, config->args, "-uri", (fault == 0), false);
     133    PXOPT_LOOKUP_STR(recipe, config->args, "-recip", (fault == 0), false);
    134134
    135135    // optional
     
    188188            user_4,
    189189            user_5,
    190             "full",
    191             code
     190            "full",
     191            fault
    192192        );
    193193
     
    286286    PXOPT_COPY_S32(config->args, where, "-iteration", "iteration", "==");
    287287    PXOPT_COPY_STR(config->args, where, "-class_id",  "class_id", "==");
    288     PXOPT_COPY_S16(config->args, where, "-code",      "fault", "==");
     288    PXOPT_COPY_S16(config->args, where, "-fault",      "fault", "==");
    289289
    290290    psString query = pxDataGet("dettool_revertstacked.sql");
     
    326326
    327327    if (!setStackedImfileDataState(config, det_id, iteration, class_id, data_state)) {
    328         return false;
     328        return false;
    329329    }
    330330    return true;
Note: See TracChangeset for help on using the changeset viewer.