IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25777


Ignore:
Timestamp:
Oct 5, 2009, 3:41:35 PM (17 years ago)
Author:
eugene
Message:

add more search options to -run

Location:
trunk/ippTools/src
Files:
2 edited

Legend:

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

    r25775 r25777  
    11031103
    11041104    psMetadata *where = psMetadataAlloc();
     1105    pxchipGetSearchArgs (config, where); // chipRun, chipProcessedImfile, rawExp
     1106    PXOPT_COPY_S64(config->args, where, "-chip_id", "chipRun.chip_id", "==");
     1107    PXOPT_COPY_STR(config->args, where, "-reduction", "chipRun.reduction", "==");
    11051108    pxAddLabelSearchArgs (config, where, "-label", "label", "==");
    11061109    PXOPT_COPY_STR(config->args, where, "-state", "state", "==");
  • trunk/ippTools/src/chiptoolConfig.c

    r25775 r25777  
    229229    psMetadataAddU64(runArgs, PS_LIST_TAIL, "-limit",  0,       "limit result set to N items", 0);
    230230    psMetadataAddStr(runArgs, PS_LIST_TAIL, "-state", 0,        "search by state (required)", NULL);
     231    pxchipSetSearchArgs(runArgs);
     232    psMetadataAddS64(runArgs, PS_LIST_TAIL, "-chip_id",  0,         "search by  chip ID", 0);
     233    psMetadataAddStr(runArgs,  PS_LIST_TAIL, "-reduction",          0, "search by reduction class", NULL);
    231234
    232235    // -advanceexp
Note: See TracChangeset for help on using the changeset viewer.