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/warptool.c

    r23873 r23921  
    230230    PXOPT_COPY_F32(config->args, where, "-solang_min",         "rawExp.solang",         ">=");
    231231    PXOPT_COPY_F32(config->args, where, "-solang_max",         "rawExp.solang",         "<");
    232     PXOPT_COPY_STR(config->args, where, "-reduction", "fakeRun.reduction", "==");
    233     PXOPT_COPY_STR(config->args, where, "-label",     "fakeRun.label",     "==");
     232    PXOPT_COPY_STR(config->args, where, "-reduction",          "fakeRun.reduction",    "==");
     233    pxAddLabelSearchArgs (config, where, "-label",             "fakeRun.label",         "==");
    234234
    235235    if (!psListLength(where->list) &&
     
    556556    psMetadata *where = psMetadataAlloc();
    557557    PXOPT_COPY_S64(config->args, where, "-warp_id", "warp_id", "==");
    558     PXOPT_COPY_STR(config->args, where, "-label", "label", "==");
     558    pxAddLabelSearchArgs (config, where, "-label", "label", "==");
    559559
    560560    PXOPT_LOOKUP_U64(limit, config->args, "-limit", false, false);
     
    828828    psMetadata *where = psMetadataAlloc();
    829829    PXOPT_COPY_S64(config->args, where, "-warp_id", "warpSkyCellMap.warp_id", "==");
    830     PXOPT_COPY_STR(config->args, where, "-label", "warpRun.label", "==");
     830    pxAddLabelSearchArgs (config, where, "-label", "warpRun.label", "==");
    831831
    832832    PXOPT_LOOKUP_U64(limit, config->args, "-limit", false, false);
     
    13181318
    13191319    psMetadata *where = psMetadataAlloc();
    1320     PXOPT_COPY_STR(config->args, where, "-label", "label", "==");
     1320    pxAddLabelSearchArgs (config, where, "-label", "label", "==");
    13211321
    13221322    psString query = pxDataGet("warptool_pendingcleanuprun.sql");
     
    13811381    psMetadata *where = psMetadataAlloc();
    13821382    PXOPT_COPY_S64(config->args, where, "-warp_id", "warp_id", "==");
    1383     PXOPT_COPY_STR(config->args, where, "-label", "label", "==");
     1383    pxAddLabelSearchArgs (config, where, "-label", "label", "==");
    13841384
    13851385    psString query = pxDataGet("warptool_pendingcleanupskyfile.sql");
Note: See TracChangeset for help on using the changeset viewer.