- Timestamp:
- May 3, 2010, 8:45:22 AM (16 years ago)
- Location:
- branches/simmosaic_branches
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
ippTools/src (modified) (1 prop)
-
ippTools/src/dettool_correction.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/simmosaic_branches
- Property svn:mergeinfo changed
-
branches/simmosaic_branches/ippTools/src
- Property svn:ignore
-
old new 1 *.la 2 *.lo 1 3 .deps 2 4 .gdb_history … … 4 6 Makefile 5 7 Makefile.in 8 addtool 9 caltool 10 camtool 11 chiptool 6 12 config.h 7 13 config.h.in 8 stamp-h1 9 *.la 10 *.lo 14 detselect 15 dettool 16 difftool 17 disttool 18 dqstatstool 19 faketool 20 flatcorr 21 guidetool 22 magicdstool 23 magictool 24 pstamptool 25 pubtool 26 pxadmin 27 pxdata.c 28 pxinject 11 29 pxtoolsErrorCodes.c 12 30 pxtoolsErrorCodes.h 13 pxadmin14 pxinject15 pztool16 31 pzgetexp 17 32 pzgetimfiles 33 pztool 34 receivetool 18 35 regtool 19 guidetool 20 chiptool 21 camtool 36 stacktool 37 stamp-h1 22 38 warptool 23 difftool24 stacktool25 faketool26 dettool27 detselect28 pxdata.c29 magictool30 magicdstool31 caltool32 flatcorr33 pstamptool34 disttool35 receivetool36 37 pubtool
-
- Property svn:ignore
-
branches/simmosaic_branches/ippTools/src/dettool_correction.c
r20377 r27839 34 34 PXOPT_LOOKUP_STR(label, config->args, "-label", false, false); 35 35 36 // build the needed where 36 // build the needed where 37 37 psMetadata *where = psMetadataAlloc(); 38 38 psMetadataAddS64(where, PS_LIST_TAIL, "det_id", 0, "==", ref_det_id); … … 88 88 detRun->solang_max, 89 89 use_label, 90 detRun->det_id, // ref_det_id91 detRun->iteration // ref_iter90 detRun->det_id, // ref_det_id 91 detRun->iteration // ref_iter 92 92 ); 93 93 psFree(runs); … … 140 140 psString query = pxDataGet("dettool_tocorrectimfile.sql"); 141 141 if (!query) { 142 psError(PXTOOLS_ERR_ DATA, false, "failed to retreive SQL statement");142 psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement"); 143 143 return false; 144 144 } 145 145 146 146 if (psListLength(where->list)) { 147 // NOTE the SQL uses an intermediate table 'det1' for this query148 psString whereClause = psDBGenerateWhereConditionSQL(where, "det1"); 147 // NOTE the SQL uses an intermediate table 'det1' for this query 148 psString whereClause = psDBGenerateWhereConditionSQL(where, "det1"); 149 149 psStringAppend(&query, " AND %s", whereClause); 150 150 psFree(whereClause); … … 198 198 psString query = pxDataGet("dettool_tocorrectexp.sql"); 199 199 if (!query) { 200 psError(PXTOOLS_ERR_ DATA, false, "failed to retreive SQL statement");200 psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement"); 201 201 return false; 202 202 } … … 248 248 return false; 249 249 } 250 250 251 251 // automatically stop completed 'correct' detRuns 252 252 psString query = pxDataGet("dettool_stop_completed_correct_runs.sql"); 253 253 if (!query) { 254 psError(PXTOOLS_ERR_ DATA, false, "failed to retreive SQL statement");254 psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement"); 255 255 return false; 256 256 }
Note:
See TracChangeset
for help on using the changeset viewer.
