IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23717


Ignore:
Timestamp:
Apr 6, 2009, 3:15:05 PM (17 years ago)
Author:
bills
Message:

poll modes need to support query by label

Location:
trunk/ippTools
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/disttool_pendingcomponent.sql

    r23700 r23717  
    1313    NULL as state,
    1414    NULL as data_state,
     15    0 as quality,
    1516    distRun.no_magic,
    1617    rawImfile.magicked
     
    6061    chipRun.state,
    6162    chipProcessedImfile.data_state,
     63    0 as quality,
    6264    distRun.no_magic,
    6365    chipProcessedImfile.magicked
     
    8991    camRun.state,
    9092    NULL,
     93    0 as quality,
    9194    distRun.no_magic,
    9295    chipProcessedImfile.magicked
     
    120123    fakeRun.state,
    121124    NULL,
     125    0 as quality,
    122126    distRun.no_magic,
    123127    0
     
    150154    warpRun.state,
    151155    warpSkyfile.data_state,
     156    warpSkyfile.quality,
    152157    distRun.no_magic,
    153158    warpSkyfile.magicked
     
    184189    -- diffSkyfile.data_state,
    185190    'full' AS data_state,
     191    diffSkyfile.quality,
    186192    distRun.no_magic,
    187193    diffSkyfile.magicked
     
    215221    -- stackSumSkyfile.data_state,
    216222    'full' AS data_state,
     223    0 as quality,
    217224    1 AS no_magic,
    218225    0 AS magicked
  • trunk/ippTools/share/disttool_toadvance.sql

    r23688 r23717  
    33    stage,
    44    stage_id,
    5     outroot
     5    outroot,
     6    label
    67FROM
    78    (
     
    1112    stage,
    1213    stage_id,
    13     outroot
     14    outroot,
     15    label
    1416    FROM distRun
    1517    JOIN rawImfile ON stage_id = rawImfile.exp_id
     
    3335    stage,
    3436    stage_id,
    35     outroot
     37    outroot,
     38    label
    3639    FROM distRun
    3740    JOIN chipProcessedImfile ON stage_id = chipProcessedImfile.chip_id
     
    5558    stage,
    5659    stage_id,
    57     outroot
     60    outroot,
     61    label
    5862    FROM distRun
    5963    JOIN warpSkyfile on stage_id = warp_id
     
    7983    stage,
    8084    stage_id,
    81     outroot
     85    outroot,
     86    label
    8287    FROM distRun
    8388    JOIN diffSkyfile
     
    103108    stage,
    104109    stage_id,
    105     outroot
     110    outroot,
     111    label
    106112    FROM distRun
    107113    JOIN stackSumSkyfile on stage_id = stack_id
  • trunk/ippTools/src/disttool.c

    r23688 r23717  
    424424    psMetadata *where = psMetadataAlloc();
    425425    PXOPT_COPY_S64(config->args, where, "-dist_id", "dist_id", "==");
     426    PXOPT_COPY_STR(config->args, where, "-label", "label", "==");
    426427
    427428    PXOPT_LOOKUP_U64(limit, config->args, "-limit", false, false);
  • trunk/ippTools/src/disttoolConfig.c

    r23688 r23717  
    100100    psMetadata *toadvanceArgs = psMetadataAlloc();
    101101    psMetadataAddS64(toadvanceArgs, PS_LIST_TAIL, "-dist_id", 0, "define dist_id", 0);
     102    psMetadataAddStr(toadvanceArgs, PS_LIST_TAIL, "-label",     0, "limit updates to label", NULL);
    102103    psMetadataAddU64(toadvanceArgs, PS_LIST_TAIL, "-limit",  0,  "limit result set to N items", 0);
    103104    psMetadataAddBool(toadvanceArgs, PS_LIST_TAIL, "-simple", 0, "use the simple output format", false);
Note: See TracChangeset for help on using the changeset viewer.