IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23974


Ignore:
Timestamp:
Apr 24, 2009, 3:00:14 PM (17 years ago)
Author:
bills
Message:

properly select by label in magicdstool -todestreak

Location:
trunk/ippTools
Files:
3 edited

Legend:

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

    r23688 r23974  
    55    magicRun.magic_id,
    66    magicRun.exp_id,
     7    magicDSRun.label,
    78    camera,
    89    magicMask.uri as streaks_uri,
     
    3536    magicDSRun.magic_id,
    3637    chipRun.exp_id,
     38    magicDSRun.label,
    3739    camera,
    3840    magicMask.uri as streaks_uri,
     
    6971    magicRun.magic_id,
    7072    magicRun.exp_id,
     73    magicDSRun.label,
    7174    camera,
    7275    magicMask.uri as streaks_uri,
     
    104107    magicRun.magic_id,
    105108    magicRun.exp_id,
     109    magicDSRun.label,
    106110    rawExp.camera,
    107111    magicMask.uri as streaks_uri,
  • trunk/ippTools/src/magicdstool.c

    r23688 r23974  
    398398    PXOPT_COPY_S64(config->args, where, "-magic_ds_id", "magic_ds_id", "==");
    399399    PXOPT_COPY_S64(config->args, where, "-magic_id", "magic_id", "==");
    400     PXOPT_COPY_STR(config->args, where, "-label", "label", "==");
     400    pxAddLabelSearchArgs (config, where, "-label", "label", "==");
    401401
    402402    PXOPT_LOOKUP_U64(limit, config->args, "-limit", false, false);
  • trunk/ippTools/src/magicdstoolConfig.c

    r23688 r23974  
    8888    psMetadataAddS64(todestreakArgs, PS_LIST_TAIL, "-magic_ds_id", 0, "search by magic Destreak ID", 0);
    8989    psMetadataAddS64(todestreakArgs, PS_LIST_TAIL, "-magic_id", 0, "search by magic ID", 0);
    90     psMetadataAddStr(todestreakArgs, PS_LIST_TAIL, "-label", 0, "define label", NULL);
     90    psMetadataAddStr(todestreakArgs, PS_LIST_TAIL, "-label", PS_META_DUPLICATE_OK, "define label", NULL);
    9191    psMetadataAddU64(todestreakArgs, PS_LIST_TAIL, "-limit", 0, "limit result set to N items", 0);
    9292    psMetadataAddBool(todestreakArgs, PS_LIST_TAIL, "-simple", 0, "use the simple output format", false);
Note: See TracChangeset for help on using the changeset viewer.