IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 20, 2022, 8:38:14 AM (4 years ago)
Author:
eugene
Message:

add option to stacktool to run stacks for which not all warps are in a valid state

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20211108/ippTools/src/stacktool.c

    r41951 r42053  
    928928    PXOPT_LOOKUP_U64(limit, config->args, "-limit", false, false);
    929929    PXOPT_LOOKUP_BOOL(simple, config->args, "-simple", false);
    930 
    931     psString query = pxDataGet("stacktool_tosum.sql");
     930    PXOPT_LOOKUP_BOOL(ignore_warp_state, config->args, "-ignore-warp-state", false);
     931
     932    psString query = ignore_warp_state ? pxDataGet("stacktool_tosum_allstates.sql") : pxDataGet("stacktool_tosum.sql");
    932933    if (!query) {
    933934        psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement");
Note: See TracChangeset for help on using the changeset viewer.