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

    r23634 r23688  
    485485    PXOPT_LOOKUP_S64(diff_id, config->args, "-diff_id", true, false); // required
    486486    PXOPT_LOOKUP_STR(skycell_id, config->args, "-skycell_id", true, false);
    487     PXOPT_LOOKUP_S16(code, config->args, "-code", false, false);
    488     PXOPT_LOOKUP_STR(uri, config->args, "-uri", (code == 0), false);
    489     PXOPT_LOOKUP_STR(path_base, config->args, "-path_base", (code == 0), false);
     487    PXOPT_LOOKUP_S16(fault, config->args, "-fault", false, false);
     488    PXOPT_LOOKUP_S16(quality, config->args, "-quality", false, false);
     489    PXOPT_LOOKUP_STR(uri, config->args, "-uri", (fault == 0), false);
     490    PXOPT_LOOKUP_STR(path_base, config->args, "-path_base", (fault == 0), false);
    490491
    491492    // optional
     
    540541                           hostname,
    541542                           good_frac,
    542                            code,
     543                           fault,
     544                           quality,
    543545                           magicked
    544546          )) {
     
    578580    PXOPT_COPY_S64(config->args, where,  "-diff_skyfile_id", "diffInputSkyfile.diff_skyfile_id", "==");
    579581    PXOPT_COPY_STR(config->args, where, "-tess_id", "diffSkyfile.tess_id", "==");
    580     PXOPT_COPY_S16(config->args, where, "-code", "diffSkyfile.fault", "==");
     582    PXOPT_COPY_S16(config->args, where, "-fault", "diffSkyfile.fault", "==");
    581583    PXOPT_COPY_S64(config->args, where, "-exp_id", "rawExp.exp_id", "==");
    582584    PXOPT_COPY_STR(config->args, where, "-exp_name", "rawExp.exp_name", "==");
     
    655657    PXOPT_COPY_S64(config->args, where,  "-diff_id", "diffSkyfile.diff_id", "==");
    656658    PXOPT_COPY_STR(config->args, where,  "-label", "diffRun.label", "==");
    657     PXOPT_COPY_S16(config->args, where, "-code",     "fault", "==");
     659    PXOPT_COPY_S16(config->args, where, "-fault",     "fault", "==");
    658660
    659661    if (!psDBTransaction(config->dbh)) {
     
    12691271    PXOPT_COPY_S64(config->args, selectWhere, "-exp_id", "inputRawExp.exp_id", "==");
    12701272    PXOPT_COPY_STR(config->args, selectWhere, "-filter", "inputRawExp.filter", "==");
     1273    PXOPT_COPY_STR(config->args, selectWhere, "-obs_mode", "inputRawExp.obs_mode", "==");
     1274    PXOPT_COPY_STR(config->args, selectWhere, "-obs_mode", "templateRawExp.obs_mode", "==");
    12711275    PXOPT_COPY_STR(config->args, selectWhere, "-input_label", "inputWarpRun.label", "==");
    12721276    PXOPT_COPY_STR(config->args, selectWhere, "-template_label", "templateWarpRun.label", "==");
     
    16621666    PS_ASSERT_PTR_NON_NULL(config, false);
    16631667
    1664     PXOPT_LOOKUP_S16(code, config->args, "-code", true, false);
     1668    PXOPT_LOOKUP_S16(fault, config->args, "-fault", true, false);
    16651669
    16661670    psMetadata *where = psMetadataAlloc();
    16671671    PXOPT_COPY_S64(config->args, where, "-diff_id",   "diff_id",   "==");
    16681672
    1669     if (!pxSetFaultCode(config->dbh, "diffSkyfile", where, code)) {
     1673    if (!pxSetFaultCode(config->dbh, "diffSkyfile", where, fault)) {
    16701674        psError(PS_ERR_UNKNOWN, false, "failed to set set fault flag");
    16711675        psFree (where);
Note: See TracChangeset for help on using the changeset viewer.