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_normalizedexp.c

    r19092 r23688  
    7272{
    7373    PS_ASSERT_PTR_NON_NULL(config, false);
    74    
     74
    7575    PXOPT_LOOKUP_S64(det_id, config->args, "-det_id", true, false); // required
    7676    PXOPT_LOOKUP_S32(iteration, config->args, "-iteration", false, false);
    77     PXOPT_LOOKUP_S16(code, config->args, "-code", false, false);
    78     PXOPT_LOOKUP_STR(recipe, config->args, "-recip", (code == 0), false); // Required if code == 0
     77    PXOPT_LOOKUP_S16(fault, config->args, "-fault", false, false);
     78    PXOPT_LOOKUP_STR(recipe, config->args, "-recip", (fault == 0), false); // Required if fault == 0
    7979    PXOPT_LOOKUP_F64(bg, config->args, "-bg", false, false);
    8080    PXOPT_LOOKUP_F64(bg_stdev, config->args, "-bg_stdev", false, false);
     
    117117    // insert the new row into the detProcessedImfile table
    118118    if (!detNormalizedExpInsert(
    119             config->dbh,
    120             det_id,
    121             iteration,
    122             recipe,
    123             bg,
    124             bg_stdev,
    125             bg_mean_stdev,
    126             user_1,
    127             user_2,
    128             user_3,
    129             user_4,
    130             user_5,
    131             path_base,
    132             "full",
    133             code
    134             )) {
     119            config->dbh,
     120            det_id,
     121            iteration,
     122            recipe,
     123            bg,
     124            bg_stdev,
     125            bg_mean_stdev,
     126            user_1,
     127            user_2,
     128            user_3,
     129            user_4,
     130            user_5,
     131            path_base,
     132            "full",
     133            fault
     134            )) {
    135135        psError(PS_ERR_UNKNOWN, false, "database error");
    136136        return false;
     
    221221    PXOPT_COPY_S64(config->args, where, "-det_id",    "det_id", "==");
    222222    PXOPT_COPY_S32(config->args, where, "-iteration", "iteration", "==");
    223     PXOPT_COPY_S16(config->args, where, "-code",      "fault", "==");
     223    PXOPT_COPY_S16(config->args, where, "-fault",      "fault", "==");
    224224
    225225    psString query = pxDataGet("dettool_revertnormalizedexp.sql");
     
    260260
    261261    if (!setNormExpDataState(config, det_id, iteration, data_state)) {
    262         return false;
     262        return false;
    263263    }
    264264    return true;
Note: See TracChangeset for help on using the changeset viewer.