IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28039


Ignore:
Timestamp:
May 19, 2010, 4:02:40 PM (16 years ago)
Author:
Paul Price
Message:

Add selection by filter.

Location:
trunk/ippTools
Files:
3 edited

Legend:

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

    r26387 r28039  
    3535JOIN camRun USING(cam_id)
    3636JOIN chipRun USING(chip_id)
     37JOIN rawExp USING(exp_id)
    3738LEFT JOIN
    3839    (SELECT magic_id, exp_id, label
    39         FROM magicRun 
     40        FROM magicRun
    4041        -- rerun hook %s
    4142    ) AS oldMagicRun
  • trunk/ippTools/src/magictool.c

    r27984 r28039  
    129129    PXOPT_COPY_STR(config->args, diffWhere, "-diff_label", "diffRun.label", "==");
    130130    PXOPT_COPY_S64(config->args, diffWhere, "-diff_id", "diff_id", "==");
     131    PXOPT_COPY_S64(config->args, diffWhere, "-select_filter", "rawExp.filter", "==");
    131132
    132133    psMetadata *queryWhere = psMetadataAlloc(); // WHERE conditions for everything else
  • trunk/ippTools/src/magictoolConfig.c

    r27982 r28039  
    5858    psMetadataAddS64(definebyqueryArgs, PS_LIST_TAIL, "-exp_id", 0, "search exp_id", 0);
    5959    psMetadataAddStr(definebyqueryArgs, PS_LIST_TAIL, "-diff_label", 0, "select diff label", NULL);
     60    psMetadataAddStr(definebyqueryArgs, PS_LIST_TAIL, "-select_filter", 0, "select filter", NULL);
    6061    psMetadataAddBool(definebyqueryArgs, PS_LIST_TAIL, "-available", 0, "process what's immediately available?", false);
    6162    psMetadataAddBool(definebyqueryArgs, PS_LIST_TAIL, "-rerun", 0, "generate new run even if existing?", false);
Note: See TracChangeset for help on using the changeset viewer.