IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 17, 2009, 4:41:07 PM (17 years ago)
Author:
eugene
Message:

convert -label options to multi where appropriate

File:
1 edited

Legend:

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

    r23873 r23920  
    109109    psMetadata *where = psMetadataAlloc();
    110110    pxcamGetSearchArgs (config, where);
    111     PXOPT_COPY_STR(config->args, where, "-label",     "camRun.label",    "==");
     111    pxAddLabelSearchArgs (config, where, "-label", "camRun.label", "==");
    112112    PXOPT_COPY_STR(config->args, where, "-reduction", "camRun.reduction", "==");
    113113
     
    296296    pxcamGetSearchArgs (config, where);
    297297    PXOPT_COPY_S64(config->args, where, "-cam_id",    "camRun.cam_id", "==");
    298     PXOPT_COPY_STR(config->args, where, "-label",    "camRun.label", "==");
     298    pxAddLabelSearchArgs (config, where, "-label", "camRun.label", "==");
    299299    PXOPT_COPY_STR(config->args, where, "-reduction", "camRun.reduction", "==");
    300300
     
    360360    pxcamGetSearchArgs (config, where);
    361361    PXOPT_COPY_S64(config->args, where, "-cam_id",    "camRun.cam_id",                "==");
    362     PXOPT_COPY_STR(config->args, where, "-label",     "camRun.label",                 "==");
     362    pxAddLabelSearchArgs (config, where, "-label",    "camRun.label",                 "==");
    363363    PXOPT_COPY_STR(config->args, where, "-reduction", "camRun.reduction",             "==");
    364364    PXOPT_COPY_S64(config->args, where, "-chip_id",   "camRun.chip_id",              "==");
     
    677677    pxcamGetSearchArgs (config, where);
    678678    PXOPT_COPY_S64(config->args, where, "-cam_id",    "camRun.cam_id",    "==");
    679     PXOPT_COPY_STR(config->args, where, "-label",     "camRun.label",     "==");
     679    pxAddLabelSearchArgs (config, where, "-label",    "camRun.label",     "==");
    680680    PXOPT_COPY_STR(config->args, where, "-reduction", "camRun.reduction", "==");
    681681
     
    953953
    954954    psMetadata *where = psMetadataAlloc();
    955     PXOPT_COPY_STR(config->args, where, "-label", "label", "==");
     955    pxAddLabelSearchArgs (config, where, "-label", "label", "==");
    956956
    957957    psString query = pxDataGet("camtool_pendingcleanuprun.sql");
     
    10181018        PXOPT_COPY_S64(config->args, where, "-cam_id", "cam_id", "==");
    10191019    }
    1020     PXOPT_COPY_STR(config->args, where, "-label", "label", "==");
     1020    pxAddLabelSearchArgs (config, where, "-label", "label", "==");
    10211021
    10221022    psString query = pxDataGet("camtool_pendingcleanupexp.sql");
Note: See TracChangeset for help on using the changeset viewer.