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/dettool_normalizedimfile.c

    r19092 r23688  
    8080    PXOPT_LOOKUP_STR(class_id, config->args, "-class_id", true, false);
    8181
    82     PXOPT_LOOKUP_S16(code, config->args, "-code", false, false);
    83 
    84     // Required if code == 0
    85     PXOPT_LOOKUP_STR(uri, config->args, "-uri", (code == 0), false);
     82    PXOPT_LOOKUP_S16(fault, config->args, "-fault", false, false);
     83
     84    // Required if fault == 0
     85    PXOPT_LOOKUP_STR(uri, config->args, "-uri", (fault == 0), false);
    8686
    8787    // optional
     
    9797
    9898    if (!detNormalizedImfileInsert(
    99             config->dbh,
    100             det_id,
    101             iteration,
    102             class_id,
    103             uri,
    104             bg,
    105             bg_stdev,
    106             bg_mean_stdev,
    107             user_1,
    108             user_2,
    109             user_3,
    110             user_4,
    111             user_5,
    112             path_base,
    113             "full",
    114             code
    115             )) {
     99            config->dbh,
     100            det_id,
     101            iteration,
     102            class_id,
     103            uri,
     104            bg,
     105            bg_stdev,
     106            bg_mean_stdev,
     107            user_1,
     108            user_2,
     109            user_3,
     110            user_4,
     111            user_5,
     112            path_base,
     113            "full",
     114            fault
     115            )) {
    116116        psError(PS_ERR_UNKNOWN, false, "database error");
    117117        return false;
     
    201201    PXOPT_COPY_S32(config->args, where, "-iteration", "iteration", "==");
    202202    PXOPT_COPY_STR(config->args, where, "-class_id",  "class_id", "==");
    203     PXOPT_COPY_S16(config->args, where, "-code",      "fault", "==");
     203    PXOPT_COPY_S16(config->args, where, "-fault",      "fault", "==");
    204204
    205205    psString query = pxDataGet("dettool_revertnormalizedimfile.sql");
     
    241241
    242242    if (!setNormImfileDataState(config, det_id, iteration, class_id, data_state)) {
    243         return false;
     243        return false;
    244244    }
    245245    return true;
Note: See TracChangeset for help on using the changeset viewer.