IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 11, 2010, 5:42:16 PM (16 years ago)
Author:
Paul Price
Message:

Add limits on time of registration and magicked status to warptool -updaterun. This is to allow cleaning of magicked data on a regular basis.

File:
1 edited

Legend:

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

    r26981 r27257  
    388388    PXOPT_COPY_STR(config->args, where, "-dist_group","warpRun.dist_group",     "==");
    389389
     390    PXOPT_COPY_TIME(config->args, where, "-registered_begin", "warpRun.registered",  ">=");
     391    PXOPT_COPY_TIME(config->args, where, "-registered_end",   "warpRun.registered",  "<");
     392
     393    PXOPT_LOOKUP_BOOL(magicked, config->args, "-magicked", false);
     394    if (magicked) {
     395        psMetadataAddS64(where, PS_LIST_TAIL, "warpRun.magicked", PS_META_DUPLICATE_OK, ">", 0);
     396    }
     397
    390398    if (!psListLength(where->list)) {
    391399        psFree(where);
Note: See TracChangeset for help on using the changeset viewer.