Changeset 23688 for trunk/ippTools/src/dettool_normalizedexp.c
- Timestamp:
- Apr 2, 2009, 2:51:37 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippTools/src/dettool_normalizedexp.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/pap (added) merged: 23511,23520-23521,23532,23578-23581,23596-23599,23603-23604,23606-23608,23619-23621,23638-23639,23641,23646-23648,23651-23653,23656,23672-23674,23677-23684
- Property svn:mergeinfo changed
-
trunk/ippTools/src/dettool_normalizedexp.c
r19092 r23688 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.
