IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 25, 2013, 4:05:32 PM (13 years ago)
Author:
watersc1
Message:

Better blocking in stack summary stage

File:
1 edited

Legend:

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

    r28375 r35856  
    1 SELECT DISTINCT sass_id,rawExp.camera,stackRun.workdir,stackRun.tess_id,stackRun.state
     1SELECT sass_id,camera,workdir,tess_id,state FROM
     2(SELECT sass_id,rawExp.camera,stackRun.workdir,stackRun.tess_id,stackRun.state,
     3       sum((stackRun.state = 'full')) AS is_done, sum(1) AS is_defined
    24       FROM stackRun
    35       JOIN stackInputSkyfile ON stackRun.stack_id = stackInputSkyfile.stack_id
     
    1214WHERE stackRun.state = 'full' AND
    1315      stackSummary.projection_cell IS NULL
     16-- WHERE HOOK %s
     17GROUP BY sass_id
     18) AS T
     19WHERE is_done = is_defined
Note: See TracChangeset for help on using the changeset viewer.