IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 3, 2011, 2:50:40 PM (15 years ago)
Author:
bills
Message:

Change PRIMARY KEY for diffInputSkyfile from (diff_id, skycell_id) to diff_skyfile_id.
This allows skycell_id to be NULL which we use in diftool -definewarpwarp to handle
the case where a pair of warps gets selected when there are actually no overlapping skycells.
We insert a diffInputSkyfile with the two warp_ids and skycell_id NULL. Then we set the
run to 'full'.
Change pubtool -definerun to not attempt to queue publishRuns for diffs in this state and
also fix the bug where publishRuns get queued even if all skycells for a diff have bad
quality

File:
1 edited

Legend:

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

    r32117 r32609  
    1515    JOIN diffRun
    1616    JOIN diffInputSkyfile USING(diff_id)
     17    JOIN diffSkyfile using(diff_id)
    1718    JOIN warpRun ON warpRun.warp_id = diffInputSkyfile.warp1 -- Only JOINing input, not reference!
    1819    JOIN fakeRun USING(fake_id)
     
    3031              )
    3132           )
     33        AND diffSkyfile.quality = 0
    3234    -- WHERE hook %s
    3335    UNION
Note: See TracChangeset for help on using the changeset viewer.