Changeset 23532 for branches/pap/ippTools/src/dettool_normalizedexp.c
- Timestamp:
- Mar 25, 2009, 12:48:19 PM (17 years ago)
- File:
-
- 1 edited
-
branches/pap/ippTools/src/dettool_normalizedexp.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/ippTools/src/dettool_normalizedexp.c
r19092 r23532 72 72 { 73 73 PS_ASSERT_PTR_NON_NULL(config, false); 74 74 75 75 PXOPT_LOOKUP_S64(det_id, config->args, "-det_id", true, false); // required 76 76 PXOPT_LOOKUP_S32(iteration, config->args, "-iteration", false, false); 77 PXOPT_LOOKUP_S16( code, config->args, "-code", false, false);78 PXOPT_LOOKUP_STR(recipe, config->args, "-recip", ( code == 0), false); // Required if code== 077 PXOPT_LOOKUP_S16(fault, config->args, "-fault", false, false); 78 PXOPT_LOOKUP_STR(recipe, config->args, "-recip", (fault == 0), false); // Required if fault == 0 79 79 PXOPT_LOOKUP_F64(bg, config->args, "-bg", false, false); 80 80 PXOPT_LOOKUP_F64(bg_stdev, config->args, "-bg_stdev", false, false); … … 117 117 // insert the new row into the detProcessedImfile table 118 118 if (!detNormalizedExpInsert( 119 config->dbh,120 det_id,121 iteration,122 recipe,123 bg,124 bg_stdev,125 bg_mean_stdev,126 user_1,127 user_2,128 user_3,129 user_4,130 user_5,131 path_base,132 "full",133 code 134 )) {119 config->dbh, 120 det_id, 121 iteration, 122 recipe, 123 bg, 124 bg_stdev, 125 bg_mean_stdev, 126 user_1, 127 user_2, 128 user_3, 129 user_4, 130 user_5, 131 path_base, 132 "full", 133 fault 134 )) { 135 135 psError(PS_ERR_UNKNOWN, false, "database error"); 136 136 return false; … … 221 221 PXOPT_COPY_S64(config->args, where, "-det_id", "det_id", "=="); 222 222 PXOPT_COPY_S32(config->args, where, "-iteration", "iteration", "=="); 223 PXOPT_COPY_S16(config->args, where, "- code", "fault", "==");223 PXOPT_COPY_S16(config->args, where, "-fault", "fault", "=="); 224 224 225 225 psString query = pxDataGet("dettool_revertnormalizedexp.sql"); … … 260 260 261 261 if (!setNormExpDataState(config, det_id, iteration, data_state)) { 262 return false;262 return false; 263 263 } 264 264 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
