IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16394


Ignore:
Timestamp:
Feb 11, 2008, 3:24:39 PM (18 years ago)
Author:
Paul Price
Message:

dettool -tonormalize was not checking the state of the detRun.

File:
1 edited

Legend:

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

    r16170 r16394  
    13391339    PXOPT_LOOKUP_STR(uri, config->args, "-uri", true, false);
    13401340    PXOPT_LOOKUP_STR(recipe, config->args, "-recip", true, false);
    1341  
     1341
    13421342    // optional
    13431343    PXOPT_LOOKUP_F64(bg, config->args, "-bg", false, false);
     
    14951495    PXOPT_LOOKUP_F64(user_5, config->args, "-user_5", false, false);
    14961496    PXOPT_LOOKUP_STR(path_base, config->args, "-path_base", true, false);
    1497  
     1497
    14981498    // default values
    14991499    PXOPT_LOOKUP_S16(code, config->args, "-code", false, false);
     
    18891889    PXOPT_LOOKUP_STR(uri, config->args, "-uri", true, false);
    18901890    PXOPT_LOOKUP_STR(recipe, config->args, "-recip", true, false);
    1891  
     1891
    18921892    // optional
    18931893    PXOPT_LOOKUP_F64(bg, config->args, "-bg", false, false);
     
    19271927    if (rawImfiles) {
    19281928        for (long i = 0; i < psArrayLength(rawImfiles); i++) {
    1929             if (!rawImfiles->data[i]) {
    1930                 fprintf (stderr, "*");
    1931                 continue;
    1932             }
     1929            if (!rawImfiles->data[i]) {
     1930                fprintf (stderr, "*");
     1931                continue;
     1932            }
    19331933            if (strcmp(class_id, ((rawImfileRow *)rawImfiles->data[i])->class_id) == 0) {
    19341934                valid_class_id = true;
     
    23042304        "   AND detNormalizedImfile.class_id IS NULL"
    23052305        "   AND detNormalizedStatImfile.fault = 0"
     2306        "   AND detRun.state = 'run'"
    23062307        );
    23072308
Note: See TracChangeset for help on using the changeset viewer.