IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36668 for trunk/ippTools/share


Ignore:
Timestamp:
Apr 15, 2014, 3:49:31 PM (12 years ago)
Author:
bills
Message:

disttool -definebyquery -rerun didn't work

Location:
trunk/ippTools/share
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/disttool_definebyquery_SSdiff.sql

    r26997 r36668  
    2222      AND distTarget.state = 'enabled'
    2323      AND rcInterest.state = 'enabled'
    24       AND distRun.dist_id IS NULL
    25 
    2624      AND ((diffRun.state = 'full') OR (distTarget.clean AND diffRun.state = 'cleaned'))
  • trunk/ippTools/share/disttool_definebyquery_camera.sql

    r26519 r36668  
    2121WHERE distTarget.state = 'enabled'
    2222    AND rcInterest.state = 'enabled'
    23     AND distRun.dist_id IS NULL      -- no existing distRun
    2423    AND ((camRun.state = 'full') OR (distTarget.clean AND camRun.state = 'cleaned'))
  • trunk/ippTools/share/disttool_definebyquery_chip_bg.sql

    r28536 r36668  
    2323WHERE distTarget.state = 'enabled'
    2424    AND rcInterest.state = 'enabled'
    25     AND distRun.dist_id IS NULL      -- no existing distRun
    2625    AND ((chipBackgroundRun.state = 'full') OR (distTarget.clean AND chipBackgroundRun.state = 'cleaned'))
  • trunk/ippTools/share/disttool_definebyquery_diff.sql

    r26519 r36668  
    2525WHERE  distTarget.state = 'enabled'
    2626    AND rcInterest.state = 'enabled'
    27     AND distRun.dist_id IS NULL
    2827    AND ((diffRun.state = 'full') OR (distTarget.clean AND diffRun.state = 'cleaned'))
    2928
  • trunk/ippTools/share/disttool_definebyquery_fake.sql

    r26519 r36668  
    2020WHERE  distTarget.state = 'enabled'
    2121    AND rcInterest.state = 'enabled'
    22     AND distRun.dist_id IS NULL
    2322    AND ((fakeRun.state = 'full') OR (distTarget.clean AND fakeRun.state = 'cleaned'))
  • trunk/ippTools/share/disttool_definebyquery_ff.sql

    r36555 r36668  
    2121WHERE  distTarget.state = 'enabled'
    2222    AND rcInterest.state = 'enabled'
    23     AND distRun.dist_id IS NULL
    2423    AND fullForceRun.state = 'full'
    2524    AND stackRun.filter = distTarget.filter
  • trunk/ippTools/share/disttool_definebyquery_raw.sql

    r27456 r36668  
    1616JOIN rcInterest USING(target_id)
    1717LEFT 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
     18WHERE distTarget.state = 'enabled'    -- target and intrest are enabled
    2019    AND rcInterest.state = 'enabled'
    2120    AND magicDSRun.state = 'full'       -- destreaked files are available
  • trunk/ippTools/share/disttool_definebyquery_sky.sql

    r35953 r36668  
    2323    AND rcInterest.state = 'enabled'
    2424    AND distTarget.filter = 'multi'
    25     AND distRun.dist_id IS NULL
    2625    AND ((staticskyRun.state = 'full') OR (distTarget.clean AND staticskyRun.state = 'cleaned'))
    2726    -- we shouldn't need to check fault. If faulted it shouldn't be full
  • trunk/ippTools/share/disttool_definebyquery_sky_singlefilter.sql

    r32696 r36668  
    2222WHERE  distTarget.state = 'enabled'
    2323    AND rcInterest.state = 'enabled'
    24     AND distRun.dist_id IS NULL
    2524    AND ((staticskyRun.state = 'full') OR (distTarget.clean AND staticskyRun.state = 'cleaned'))
    2625    AND stackRun.filter = distTarget.filter
  • trunk/ippTools/share/disttool_definebyquery_skycal.sql

    r35955 r36668  
    1 SELECT
     1SELECT DISTINCT
    22    'skycal' as stage,
    33    skycalRun.skycal_id AS stage_id,
     
    2121WHERE  distTarget.state = 'enabled'
    2222    AND rcInterest.state = 'enabled'
    23     AND distRun.dist_id IS NULL
    2423    AND ((skycalRun.state = 'full') OR (distTarget.clean AND skycalRun.state = 'cleaned'))
    2524    AND stackRun.filter = distTarget.filter
  • trunk/ippTools/share/disttool_definebyquery_stack.sql

    r26519 r36668  
    2121WHERE  distTarget.state = 'enabled'
    2222    AND rcInterest.state = 'enabled'
    23     AND distRun.dist_id IS NULL
    2423    AND ((stackRun.state = 'full') OR (distTarget.clean AND stackRun.state = 'cleaned'))
    2524    -- we shouldn't need to check fault. If faulted it shouldn't be full
  • trunk/ippTools/share/disttool_definebyquery_warp.sql

    r26519 r36668  
    2222WHERE  distTarget.state = 'enabled'
    2323    AND rcInterest.state = 'enabled'
    24     AND distRun.dist_id IS NULL
    2524    AND ((warpRun.state = 'full') OR (distTarget.clean AND warpRun.state = 'cleaned'))
    2625
  • trunk/ippTools/share/disttool_definebyquery_warp_bg.sql

    r28536 r36668  
    2424WHERE  distTarget.state = 'enabled'
    2525    AND rcInterest.state = 'enabled'
    26     AND distRun.dist_id IS NULL
    2726    AND ((warpBackgroundRun.state = 'full') OR (distTarget.clean AND warpBackgroundRun.state = 'cleaned'))
    2827
Note: See TracChangeset for help on using the changeset viewer.