IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37104


Ignore:
Timestamp:
Jul 23, 2014, 2:57:03 PM (12 years ago)
Author:
watersc1
Message:

stacktool -max_num option addition.

Location:
trunk/ippTools/src
Files:
2 edited

Legend:

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

    r36361 r37104  
    260260    // these are used to build the HAVING restriction
    261261    PXOPT_COPY_S32(config->args, having, "-min_num", "num_warp", ">=");
     262    PXOPT_COPY_S32(config->args, having, "-max_num", "num_warp", "<=");
     263   
    262264    PXOPT_LOOKUP_S32(min_num,     config->args, "-min_num",  false, false);
    263265    if (min_num < 2) {
  • trunk/ippTools/src/stacktoolConfig.c

    r36361 r37104  
    9898    psMetadataAddS32(definebyqueryArgs, PS_LIST_TAIL, "-random", 0, "use this number of random elements", 0);
    9999    psMetadataAddS32(definebyqueryArgs, PS_LIST_TAIL, "-min_num", 0, "minimum number of inputs", 0);
     100    psMetadataAddS32(definebyqueryArgs, PS_LIST_TAIL, "-max_num", 0, "maximum number of inputs", 0);
    100101    psMetadataAddS32(definebyqueryArgs, PS_LIST_TAIL, "-min_new", 0, "minimum number of new inputs", 0);
    101102    psMetadataAddF32(definebyqueryArgs, PS_LIST_TAIL, "-min_frac", 0, "minumum fraction of new inputs", NAN);
Note: See TracChangeset for help on using the changeset viewer.