IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 22, 2010, 1:58:02 PM (16 years ago)
Author:
bills
Message:

changes to support updating only a subset of the components of a run

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/difftool.c

    r27210 r27391  
    204204
    205205    // pxUpdateRun gets parameters from config->args and updates
    206     bool result = pxUpdateRun(config, where, &query, "diffRun", true);
     206    bool result = pxUpdateRun(config, where, &query, "diffRun", "diff_id", "diffSkyfile", true);
    207207
    208208    psFree(query);
     
    210210
    211211    return result;
    212 
    213 #ifdef notdef
    214     // required options
    215     PXOPT_LOOKUP_S64(diff_id, config->args, "-diff_id", false, false);
    216     PXOPT_LOOKUP_STR(state, config->args, "-state", true, false);
    217     PXOPT_LOOKUP_STR(label, config->args, "-label", false, false);
    218 
    219     // Copy of my hacky work around from stacktool.c
    220     if ((state)&&(diff_id)) {
    221         // set detRun.state to state
    222         return setdiffRunState(config, diff_id, state, false);
    223     }
    224 
    225     if ((state)&&(label)) {
    226       return setdiffRunStateByLabel(config, label, state);
    227     }
    228 
    229     psError(PS_ERR_UNKNOWN, false, "Required options not found.");
    230 
    231     return false;
    232 #endif
    233212}
    234213
Note: See TracChangeset for help on using the changeset viewer.