Changeset 9329 for trunk/ippTools/src/dettool.c
- Timestamp:
- Oct 5, 2006, 4:08:58 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/dettool.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/dettool.c
r9328 r9329 2176 2176 " ON detInputExp.det_id = detStackedImfile.det_id" 2177 2177 " AND detInputExp.iteration = detStackedImfile.iteration" 2178 " LEFT JOIN detNorm laizedStatImfile"2178 " LEFT JOIN detNormalizedStatImfile" 2179 2179 " ON detRun.position = detNormalizedStatImfile.det_id" 2180 " ONdetRun.iteration = detNormalizedStatImfile.iteration"2180 " AND detRun.iteration = detNormalizedStatImfile.iteration" 2181 2181 " WHERE" 2182 2182 " detRun.state = 'run'" … … 2185 2185 " GROUP BY" 2186 2186 " rawDetrendExp.exp_tag," 2187 " detRun.iteration," 2187 2188 " detRun.position" 2188 2189 " HAVING MAX(rawDetrendExp.imfiles) = COUNT(detStackedImfile.class_id)" … … 3797 3798 if (!status) { 3798 3799 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -det_id"); 3800 return false; 3801 } 3802 if (!det_id) { 3803 psError(PS_ERR_UNKNOWN, true, "-det_id is required"); 3804 return false; 3805 } 3806 if (!psMetadataAddS32(where, PS_LIST_TAIL, "det_id", 0, "==", (psS32)atoi(det_id))) { 3807 psError(PS_ERR_UNKNOWN, false, "failed to add item det_id"); 3799 3808 psFree(where); 3800 3809 psFree(query); 3801 3810 return false; 3802 3811 } 3803 if (det_id) { 3804 if (!psMetadataAddStr(where, PS_LIST_TAIL, "det_id", 0, "==", det_id)) { 3805 psError(PS_ERR_UNKNOWN, false, "failed to add item det_id"); 3806 psFree(where); 3807 psFree(query); 3808 return false; 3809 } 3810 } 3812 3811 3813 psS32 iteration = psMetadataLookupS32(&status, config->args, "-iteration"); 3812 3814 if (!status) {
Note:
See TracChangeset
for help on using the changeset viewer.
