IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

File:
1 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);
Note: See TracChangeset for help on using the changeset viewer.