IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23608


Ignore:
Timestamp:
Mar 30, 2009, 2:24:07 PM (17 years ago)
Author:
Paul Price
Message:

Changing -code to -fault.

File:
1 edited

Legend:

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

    r19092 r23608  
    8383    // default
    8484    PXOPT_LOOKUP_S32(iteration, config->args, "-iteration", false, false);
    85     PXOPT_LOOKUP_S16(code, config->args, "-code", false, false);
     85    PXOPT_LOOKUP_S16(code, config->args, "-fault", false, false);
    8686
    8787    detNormalizedStatImfileRow *row = detNormalizedStatImfileRowAlloc
    88         (det_id,
    89         iteration,
    90         class_id,
    91         norm,
    92         "full",
    93         code);
    94                                                                          
     88        (det_id,
     89        iteration,
     90        class_id,
     91        norm,
     92        "full",
     93        code);
     94
    9595    if (!detNormalizedStatImfileInsertObject(config->dbh, row)) {
    96         psError(PS_ERR_UNKNOWN, false, "database error");
    97         return false;
     96        psError(PS_ERR_UNKNOWN, false, "database error");
     97        return false;
    9898    }
    9999
     
    181181    PXOPT_COPY_S32(config->args, where, "-iteration", "iteration", "==");
    182182    PXOPT_COPY_STR(config->args, where, "-class_id",  "class_id", "==");
    183     PXOPT_COPY_S16(config->args, where, "-code",      "fault", "==");
     183    PXOPT_COPY_S16(config->args, where, "-fault",      "fault", "==");
    184184
    185185    psString query = pxDataGet("dettool_revertnormalizedstat.sql");
     
    221221
    222222    if (!setNormStatImfileDataState(config, det_id, iteration, class_id, data_state)) {
    223         return false;
     223        return false;
    224224    }
    225225    return true;
Note: See TracChangeset for help on using the changeset viewer.