Changeset 36668 for trunk/ippTools/share
- Timestamp:
- Apr 15, 2014, 3:49:31 PM (12 years ago)
- Location:
- trunk/ippTools/share
- Files:
-
- 13 edited
-
disttool_definebyquery_SSdiff.sql (modified) (1 diff)
-
disttool_definebyquery_camera.sql (modified) (1 diff)
-
disttool_definebyquery_chip_bg.sql (modified) (1 diff)
-
disttool_definebyquery_diff.sql (modified) (1 diff)
-
disttool_definebyquery_fake.sql (modified) (1 diff)
-
disttool_definebyquery_ff.sql (modified) (1 diff)
-
disttool_definebyquery_raw.sql (modified) (1 diff)
-
disttool_definebyquery_sky.sql (modified) (1 diff)
-
disttool_definebyquery_sky_singlefilter.sql (modified) (1 diff)
-
disttool_definebyquery_skycal.sql (modified) (2 diffs)
-
disttool_definebyquery_stack.sql (modified) (1 diff)
-
disttool_definebyquery_warp.sql (modified) (1 diff)
-
disttool_definebyquery_warp_bg.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/disttool_definebyquery_SSdiff.sql
r26997 r36668 22 22 AND distTarget.state = 'enabled' 23 23 AND rcInterest.state = 'enabled' 24 AND distRun.dist_id IS NULL25 26 24 AND ((diffRun.state = 'full') OR (distTarget.clean AND diffRun.state = 'cleaned')) -
trunk/ippTools/share/disttool_definebyquery_camera.sql
r26519 r36668 21 21 WHERE distTarget.state = 'enabled' 22 22 AND rcInterest.state = 'enabled' 23 AND distRun.dist_id IS NULL -- no existing distRun24 23 AND ((camRun.state = 'full') OR (distTarget.clean AND camRun.state = 'cleaned')) -
trunk/ippTools/share/disttool_definebyquery_chip_bg.sql
r28536 r36668 23 23 WHERE distTarget.state = 'enabled' 24 24 AND rcInterest.state = 'enabled' 25 AND distRun.dist_id IS NULL -- no existing distRun26 25 AND ((chipBackgroundRun.state = 'full') OR (distTarget.clean AND chipBackgroundRun.state = 'cleaned')) -
trunk/ippTools/share/disttool_definebyquery_diff.sql
r26519 r36668 25 25 WHERE distTarget.state = 'enabled' 26 26 AND rcInterest.state = 'enabled' 27 AND distRun.dist_id IS NULL28 27 AND ((diffRun.state = 'full') OR (distTarget.clean AND diffRun.state = 'cleaned')) 29 28 -
trunk/ippTools/share/disttool_definebyquery_fake.sql
r26519 r36668 20 20 WHERE distTarget.state = 'enabled' 21 21 AND rcInterest.state = 'enabled' 22 AND distRun.dist_id IS NULL23 22 AND ((fakeRun.state = 'full') OR (distTarget.clean AND fakeRun.state = 'cleaned')) -
trunk/ippTools/share/disttool_definebyquery_ff.sql
r36555 r36668 21 21 WHERE distTarget.state = 'enabled' 22 22 AND rcInterest.state = 'enabled' 23 AND distRun.dist_id IS NULL24 23 AND fullForceRun.state = 'full' 25 24 AND stackRun.filter = distTarget.filter -
trunk/ippTools/share/disttool_definebyquery_raw.sql
r27456 r36668 16 16 JOIN rcInterest USING(target_id) 17 17 LEFT JOIN distRun ON distRun.stage_id = exp_id AND distRun.target_id = distTarget.target_id 18 WHERE distRun.dist_id IS NULL -- no existing distRun for this exposure 19 AND distTarget.state = 'enabled' -- target and intrest are enabled 18 WHERE distTarget.state = 'enabled' -- target and intrest are enabled 20 19 AND rcInterest.state = 'enabled' 21 20 AND magicDSRun.state = 'full' -- destreaked files are available -
trunk/ippTools/share/disttool_definebyquery_sky.sql
r35953 r36668 23 23 AND rcInterest.state = 'enabled' 24 24 AND distTarget.filter = 'multi' 25 AND distRun.dist_id IS NULL26 25 AND ((staticskyRun.state = 'full') OR (distTarget.clean AND staticskyRun.state = 'cleaned')) 27 26 -- we shouldn't need to check fault. If faulted it shouldn't be full -
trunk/ippTools/share/disttool_definebyquery_sky_singlefilter.sql
r32696 r36668 22 22 WHERE distTarget.state = 'enabled' 23 23 AND rcInterest.state = 'enabled' 24 AND distRun.dist_id IS NULL25 24 AND ((staticskyRun.state = 'full') OR (distTarget.clean AND staticskyRun.state = 'cleaned')) 26 25 AND stackRun.filter = distTarget.filter -
trunk/ippTools/share/disttool_definebyquery_skycal.sql
r35955 r36668 1 SELECT 1 SELECT DISTINCT 2 2 'skycal' as stage, 3 3 skycalRun.skycal_id AS stage_id, … … 21 21 WHERE distTarget.state = 'enabled' 22 22 AND rcInterest.state = 'enabled' 23 AND distRun.dist_id IS NULL24 23 AND ((skycalRun.state = 'full') OR (distTarget.clean AND skycalRun.state = 'cleaned')) 25 24 AND stackRun.filter = distTarget.filter -
trunk/ippTools/share/disttool_definebyquery_stack.sql
r26519 r36668 21 21 WHERE distTarget.state = 'enabled' 22 22 AND rcInterest.state = 'enabled' 23 AND distRun.dist_id IS NULL24 23 AND ((stackRun.state = 'full') OR (distTarget.clean AND stackRun.state = 'cleaned')) 25 24 -- we shouldn't need to check fault. If faulted it shouldn't be full -
trunk/ippTools/share/disttool_definebyquery_warp.sql
r26519 r36668 22 22 WHERE distTarget.state = 'enabled' 23 23 AND rcInterest.state = 'enabled' 24 AND distRun.dist_id IS NULL25 24 AND ((warpRun.state = 'full') OR (distTarget.clean AND warpRun.state = 'cleaned')) 26 25 -
trunk/ippTools/share/disttool_definebyquery_warp_bg.sql
r28536 r36668 24 24 WHERE distTarget.state = 'enabled' 25 25 AND rcInterest.state = 'enabled' 26 AND distRun.dist_id IS NULL27 26 AND ((warpBackgroundRun.state = 'full') OR (distTarget.clean AND warpBackgroundRun.state = 'cleaned')) 28 27
Note:
See TracChangeset
for help on using the changeset viewer.
