IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 14, 2008, 3:28:57 PM (18 years ago)
Author:
eugene
Message:

various fixes to the get command-line options for cleanup stages correct

File:
1 edited

Legend:

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

    r19002 r19078  
    322322    PXOPT_LOOKUP_S64(det_id, config->args, "-det_id", true, false);
    323323    PXOPT_LOOKUP_S32(iteration, config->args, "-iteration", true, false);
     324    PXOPT_LOOKUP_STR(class_id, config->args, "-class_id", true, false);
    324325    PXOPT_LOOKUP_STR(data_state, config->args, "-data_state", true, false);
    325326
    326     if (!setStackedImfileDataState(config, det_id, iteration, data_state)) {
     327    if (!setStackedImfileDataState(config, det_id, iteration, class_id, data_state)) {
    327328        return false;
    328329    }
     
    340341    PXOPT_COPY_S64(config->args, where, "-det_id", "detStackedImfile.det_id", "==");
    341342    PXOPT_COPY_S32(config->args, where, "-iteration", "detStackedImfile.iteration", "==");
     343    PXOPT_COPY_STR(config->args, where, "-class_id", "detStackedImfile.class_id", "==");
    342344
    343345    psString query = pxDataGet("dettool_pendingcleanup_stacked.sql");
     
    400402
    401403    psMetadata *where = psMetadataAlloc();
    402     PXOPT_COPY_STR(config->args, where, "-label", "label", "==");
     404    PXOPT_COPY_S64(config->args, where, "-det_id", "detStackedImfile.det_id", "==");
     405    PXOPT_COPY_S32(config->args, where, "-iteration", "detStackedImfile.iteration", "==");
     406    PXOPT_COPY_STR(config->args, where, "-class_id", "detStackedImfile.class_id", "==");
    403407
    404408    psString query = pxDataGet("dettool_donecleanup_stacked.sql");
Note: See TracChangeset for help on using the changeset viewer.