IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 2, 2015, 2:57:52 PM (11 years ago)
Author:
eugene
Message:

add stack_id as part of output from fftool -summary; do not call test macros for items used only in where statements

File:
1 edited

Legend:

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

    r38937 r39028  
    421421      psStringAppend(&query, " GROUP BY ff_id ");  //needs to be checked, but should be fine: want 1 ff summary cmf.
    422422    }
    423     psError(PS_ERR_UNKNOWN, false , query);
     423    psError(PS_ERR_UNKNOWN, false, "query: %s\n", query);
    424424
    425425    psTrace("addtool.c", PS_LOG_INFO,"query: \n\n%s\n\n",query);
     
    11991199    psMetadata *where = psMetadataAlloc();
    12001200    if (multiadd) {
    1201       //required, check that they are there
    1202       PXOPT_LOOKUP_STR(multiaddlabel, config->args, "-multiaddlabel",true,false);
    1203       PXOPT_LOOKUP_STR(stage, config->args, "-stage",true,false);
    1204       PXOPT_LOOKUP_S64(stage_id, config->args, "-stage_id",true,false);
    1205       //do the where
     1201      // NOTE: these tests are not needed because the PXOPT_COPY_* calls below return FALSE on failure to find the item
     1202      // required, check that they are there
     1203      // PXOPT_LOOKUP_STR(multiaddlabel, config->args, "-multiaddlabel", true, false);
     1204      // PXOPT_LOOKUP_STR(stage, config->args, "-stage", true, false);
     1205      // PXOPT_LOOKUP_S64(stage_id, config->args, "-stage_id", true, false);
     1206
     1207      // do the where
    12061208      PXOPT_COPY_STR(config->args, where, "-multiaddlabel",   "addRun.label",   "==");
    12071209      PXOPT_COPY_STR(config->args, where, "-stage", "addRun.stage","==");
     
    12111213      //if not multiadd mode, then do it by add_id
    12121214      // required, check for add_id
    1213       PXOPT_LOOKUP_S64(add_id, config->args, "-add_id",true,false);
     1215      // PXOPT_LOOKUP_S64(add_id, config->args, "-add_id",true,false);
    12141216      PXOPT_COPY_S64(config->args, where, "-add_id",   "addRun.add_id",   "==");
    12151217     
Note: See TracChangeset for help on using the changeset viewer.