IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38296 for trunk/ippTools/src


Ignore:
Timestamp:
May 21, 2015, 8:13:08 AM (11 years ago)
Author:
bills
Message:

Minor changes to staticskytool to support "updating" runs.
Add path_base to -todo mode. This will list NULL for new runs and
the existing path base for runs in state update.
Add -set_quality option to -updateresult

Location:
trunk/ippTools/src
Files:
2 edited

Legend:

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

    r37999 r38296  
    787787
    788788    PXOPT_LOOKUP_S16(fault, config->args, "-fault", true, false);
     789    PXOPT_LOOKUP_S16(quality, config->args, "-set_quality", false, false);
    789790
    790791    psMetadata *where = psMetadataAlloc();
    791792    PXOPT_COPY_S64(config->args, where, "-sky_id",   "sky_id",   "==");
    792793
    793     if (!pxSetFaultCode(config->dbh, "staticskyResult", where, fault, 0)) {
     794    if (!pxSetFaultCode(config->dbh, "staticskyResult", where, fault, quality)) {
    794795        psError(PS_ERR_UNKNOWN, false, "failed to set set fault flag");
    795796        psFree (where);
  • trunk/ippTools/src/staticskytoolConfig.c

    r37999 r38296  
    148148    psMetadataAddS64(updateresultArgs, PS_LIST_TAIL, "-sky_id", 0, "define staticksky ID (required)", 0);
    149149    psMetadataAddS16(updateresultArgs, PS_LIST_TAIL, "-fault", 0, "set fault code (required)", 0);
     150    psMetadataAddS16(updateresultArgs, PS_LIST_TAIL, "-set_quality",  0, "set quality", 0);
    150151
    151152    // -exportrun
Note: See TracChangeset for help on using the changeset viewer.