Changeset 23688 for trunk/ippTools/src/dettool_normalizedimfile.c
- Timestamp:
- Apr 2, 2009, 2:51:37 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippTools/src/dettool_normalizedimfile.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_normalizedimfile.c
r19092 r23688 80 80 PXOPT_LOOKUP_STR(class_id, config->args, "-class_id", true, false); 81 81 82 PXOPT_LOOKUP_S16( code, config->args, "-code", false, false);83 84 // Required if code== 085 PXOPT_LOOKUP_STR(uri, config->args, "-uri", ( code== 0), false);82 PXOPT_LOOKUP_S16(fault, config->args, "-fault", false, false); 83 84 // Required if fault == 0 85 PXOPT_LOOKUP_STR(uri, config->args, "-uri", (fault == 0), false); 86 86 87 87 // optional … … 97 97 98 98 if (!detNormalizedImfileInsert( 99 config->dbh,100 det_id,101 iteration,102 class_id,103 uri,104 bg,105 bg_stdev,106 bg_mean_stdev,107 user_1,108 user_2,109 user_3,110 user_4,111 user_5,112 path_base,113 "full",114 code 115 )) {99 config->dbh, 100 det_id, 101 iteration, 102 class_id, 103 uri, 104 bg, 105 bg_stdev, 106 bg_mean_stdev, 107 user_1, 108 user_2, 109 user_3, 110 user_4, 111 user_5, 112 path_base, 113 "full", 114 fault 115 )) { 116 116 psError(PS_ERR_UNKNOWN, false, "database error"); 117 117 return false; … … 201 201 PXOPT_COPY_S32(config->args, where, "-iteration", "iteration", "=="); 202 202 PXOPT_COPY_STR(config->args, where, "-class_id", "class_id", "=="); 203 PXOPT_COPY_S16(config->args, where, "- code", "fault", "==");203 PXOPT_COPY_S16(config->args, where, "-fault", "fault", "=="); 204 204 205 205 psString query = pxDataGet("dettool_revertnormalizedimfile.sql"); … … 241 241 242 242 if (!setNormImfileDataState(config, det_id, iteration, class_id, data_state)) { 243 return false;243 return false; 244 244 } 245 245 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
