IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 16, 2010, 11:20:32 AM (16 years ago)
Author:
watersc1
Message:

This should fix the stack-stack overqueueing bug. The test case for input_label = MD03.nightlyscience now only finds stacks from data_group MD03.20100215, which do not appear to have been queued for SS diffs before.

File:
1 edited

Legend:

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

    r26927 r26958  
    55       stackRun.label AS INPUT_label,
    66       stackRun.tess_id AS INPUT_tess_id
     7--     ,
     8--       stackRun.stack_id AS INPUT_stack_id,
     9--       template.max_stack_id,
     10--       diffExp.diff_id
    711FROM stackRun JOIN stackSumSkyfile USING(stack_id)
    812JOIN (
     
    2832     SELECT
    2933            diffRun.diff_id,
    30             stackRun.stack_id
     34            diffInputSkyfile.stack1,
     35            diffInputSkyfile.stack2
    3136     FROM diffRun JOIN diffInputSkyfile USING(diff_id)
    3237          JOIN stackRun ON stackRun.stack_id = diffInputSkyfile.stack1
    3338          JOIN stackSumSkyfile USING(stack_id)
    3439          WHERE 1
    35           -- diff where hook %s
    3640          -- input where hook %s
    37 ) AS diffExp ON stackRun.stack_id = diffExp.stack_id
     41) AS diffExp ON diffExp.stack1 = stackRun.stack_id AND diffExp.stack2 = template.max_stack_id
    3842WHERE
    3943        stackSumSkyfile.fault = 0 AND stackSumSkyfile.quality = 0
     44        -- diff where hook %s
    4045        -- input where hook again %s
    4146ORDER BY stackRun.data_group,stackRun.filter
Note: See TracChangeset for help on using the changeset viewer.