IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 8, 2007, 2:40:01 PM (19 years ago)
Author:
jhoblitt
Message:

add -pendingimfile -faulted

File:
1 edited

Legend:

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

    r10972 r10973  
    176176    }
    177177
     178    bool faulted = psMetadataLookupU64(&status, config->args, "-faulted");
     179    if (!status) {
     180        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -faulted");
     181        return false;
     182    }
     183
    178184    // select newImfiles that:
    179185    // exp_tag is in newExp
     
    192198        " AND rawDetrendExp.exp_tag IS NULL"
    193199    );
     200
     201    if (faulted) {
     202        psStringAppend(&query, " %s", "AND newImfile.flags > 0");
     203    }
    194204
    195205    // treat limit == 0 as "no limit"
Note: See TracChangeset for help on using the changeset viewer.