IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

convert -label options to multi where appropriate

File:
1 edited

Legend:

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

    r23873 r23921  
    128128    PXOPT_COPY_TIME(config->args, where, "-dateobs_end", "dateobs", "<=");
    129129    PXOPT_COPY_STR(config->args, where, "-exp_tag", "exp_tag", "==");
    130     PXOPT_COPY_STR(config->args, where, "-label", "label", "==");
     130    pxAddLabelSearchArgs (config, where, "-label", "label", "==");
    131131    PXOPT_COPY_STR(config->args, where, "-filelevel", "filelevel", "==");
    132132    PXOPT_COPY_STR(config->args, where, "-reduction", "reduction", "==");
     
    376376
    377377    psMetadata *where = psMetadataAlloc();
     378    pxAddLabelSearchArgs (config, where, "-label", "label", "==");
    378379    PXOPT_COPY_S64(config->args, where, "-fake_id", "fake_id", "==");
    379     PXOPT_COPY_STR(config->args, where, "-label", "label", "==");
    380380    PXOPT_COPY_S64(config->args, where, "-cam_id", "cam_id", "==");
    381381    PXOPT_COPY_S64(config->args, where, "-chip_id", "chip_id", "==");
     
    442442    psMetadata *where = psMetadataAlloc();
    443443    PXOPT_COPY_S64(config->args, where, "-fake_id", "fake_id", "==");
    444     PXOPT_COPY_STR(config->args, where, "-label", "label", "==");
     444    pxAddLabelSearchArgs (config, where, "-label", "label", "==");
    445445    PXOPT_COPY_S64(config->args, where, "-exp_id", "exp_id", "==");
    446446    PXOPT_COPY_STR(config->args, where, "-class_id", "rawImfile.class_id", "==");
     
    895895
    896896    psMetadata *where = psMetadataAlloc();
    897     PXOPT_COPY_STR(config->args, where, "-label", "label", "==");
     897    pxAddLabelSearchArgs (config, where, "-label", "label", "==");
    898898
    899899    psString query = pxDataGet("faketool_pendingcleanuprun.sql");
     
    960960        PXOPT_COPY_S64(config->args, where, "-fake_id", "fake_id", "==");
    961961    }
    962     PXOPT_COPY_STR(config->args, where, "-label", "label", "==");
     962    pxAddLabelSearchArgs (config, where, "-label", "label", "==");
    963963
    964964    psString query = pxDataGet("faketool_pendingcleanupimfile.sql");
     
    10791079    psMetadata *where = psMetadataAlloc();
    10801080    PXOPT_COPY_S64(config->args, where, "-fake_id", "fake_id", "==");
    1081     PXOPT_COPY_STR(config->args, where, "-label", "label", "==");
     1081    pxAddLabelSearchArgs (config, where, "-label", "label", "==");
    10821082
    10831083    PXOPT_LOOKUP_U64(limit, config->args, "-limit", false, false);
Note: See TracChangeset for help on using the changeset viewer.