IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 10, 2008, 8:05:10 PM (17 years ago)
Author:
Paul Price
Message:

Fix bug in selecting diff inputs by labels.

File:
1 edited

Legend:

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

    r20681 r20682  
    77    warpsToDiff.tess_id,
    88    warpsToDiff.filter,
    9     stacksForDiff.stack_label,
    10     warpsToDiff.warp_label,
    119    warpsToDiff.good_frac,
    1210    warpsToDiff.diff_id,
     
    4543        warpSkyfile.fault = 0
    4644        AND warpSkyfile.ignored = 0
     45    -- warpsToDiff WHERE hook %s
    4746    ) AS warpsToDiff
    4847-- Get best stack as a function of skycell_id, filter
     
    5150        MAX(stack_id) AS best_stack_id, -- most recent stack, by virtue of auto-increment
    5251        skycell_id,
    53         tess_id,
    54         filter,
    55         label as stack_label
     52        filter
    5653    FROM stackRun
    5754    JOIN stackSumSkyfile USING(stack_id)
    5855    WHERE stackRun.state = 'full'
    5956        AND stackSumSkyfile.fault = 0
     57    -- stacksForDiff WHERE hook %s
    6058    GROUP BY
    6159        skycell_id,
Note: See TracChangeset for help on using the changeset viewer.