IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35789 for trunk/ippTools/src


Ignore:
Timestamp:
Jul 10, 2013, 12:08:57 PM (13 years ago)
Author:
bills
Message:

add chipRun.update_mode. If set do not use the config dump
file when regenerating images using update

Location:
trunk/ippTools/src
Files:
3 edited

Legend:

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

    r35691 r35789  
    20182018    PXOPT_LOOKUP_STR(class_id, config->args, "-class_id", false, false);
    20192019    PXOPT_LOOKUP_STR(label, config->args, "-set_label", false, false);
     2020    PXOPT_LOOKUP_S16(update_mode, config->args, "-set_update_mode", false, false);
    20202021
    20212022    psString query = pxDataGet("chiptool_setimfiletoupdate.sql");
     
    20292030        psStringAppend(&setHook, "\n , chipRun.label = '%s'", label);
    20302031    }
     2032    // always set update_mode. If user has not supplied it zero is the right answer.
     2033    psStringAppend(&setHook, "\n, chipRun.update_mode = %d", update_mode);
    20312034
    20322035    if (class_id) {
  • trunk/ippTools/src/chiptoolConfig.c

    r35573 r35789  
    5252
    5353    psMetadataAddStr(definebyqueryArgs, PS_LIST_TAIL, "-set_workdir",  0,            "define workdir (required)", NULL);
    54     psMetadataAddStr(definebyqueryArgs, PS_LIST_TAIL, "-set_label",  0,            "define label (required)", NULL);
     54    psMetadataAddStr(definebyqueryArgs, PS_LIST_TAIL, "-set_label",  0,            "define label", NULL);
    5555    psMetadataAddStr(definebyqueryArgs, PS_LIST_TAIL, "-set_reduction",  0,            "define reduction class", NULL);
    5656    psMetadataAddStr(definebyqueryArgs, PS_LIST_TAIL, "-set_expgroup",  0,            "define exposure group", NULL);
     
    107107    psMetadataAddStr(setimfiletoupdateArgs, PS_LIST_TAIL, "-class_id", 0,  "search by class_id", NULL);
    108108    psMetadataAddStr(setimfiletoupdateArgs, PS_LIST_TAIL, "-set_label",  0,"new value for label", NULL);
     109    psMetadataAddS16(setimfiletoupdateArgs, PS_LIST_TAIL, "-set_update_mode",  0,"new value for update_mode", 0);
    109110
    110111    // -pendingimfile
  • trunk/ippTools/src/pxchip.c

    r33334 r35789  
    283283                       NAN,
    284284                       NAN,
     285            0,         // update_mode
    285286            note
    286287            )
Note: See TracChangeset for help on using the changeset viewer.