Changeset 35154 for trunk/ippTools/share/bgtool_definewarp.sql
- Timestamp:
- Feb 12, 2013, 4:24:02 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/share/bgtool_definewarp.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/bgtool_definewarp.sql
r28551 r35154 1 1 SELECT 2 warpRun.*, 3 chipBackgroundRun.chip_bg_id 2 warpRun.warp_id, 3 chipBackgroundRun.* 4 -- the following items are selected for aid in debugging 5 , 6 warpsChipRun.chip_id as warpschip_id, 7 chipRun.chip_id AS thischip_id, 8 warpBackgroundRun.warp_bg_id 4 9 FROM warpRun 5 10 JOIN fakeRun USING(fake_id) 6 11 JOIN camRun USING(cam_id) 7 JOIN chipRun USING(chip_id) 8 JOIN chipBackgroundRun USING(chip_id) 12 JOIN chipRun as warpsChipRun ON camRun.chip_id = warpsChipRun.chip_id 9 13 JOIN rawExp USING(exp_id) 10 LEFT JOIN warpBackgroundRun USING(chip_bg_id) 14 JOIN chipRun USING(exp_id) 15 JOIN chipBackgroundRun ON chipRun.chip_id = chipBackgroundRun.chip_id 16 AND (chipBackgroundRun.cam_id = camRun.cam_id OR chipBackgroundRun.cam_id = 0) 17 LEFT JOIN warpBackgroundRun ON chipBackgroundRun.chip_bg_id = warpBackgroundRun.warp_bg_id -- label hook %s 11 18 WHERE chipBackgroundRun.state = 'full' 12 AND warpRun.state IN ('full', 'cleaned', 'goto_cleaned') -- only need it to have been completed19 AND warpRun.state IN ('full', 'cleaned', 'goto_cleaned') -- need warp to have completed so warpSkyCellMap is populated
Note:
See TracChangeset
for help on using the changeset viewer.
