IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24157


Ignore:
Timestamp:
May 12, 2009, 7:10:33 PM (17 years ago)
Author:
Paul Price
Message:

Needed to join against diffSkyfile to ensure we only get nodes that match a skycell.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_magic/ippTools/share/magictool_toprocess_inputs.sql

    r24156 r24157  
    88    magicNodeResult.magic_id IS TRUE AS done,
    99    magicNodeResult.fault IS TRUE AS bad
    10 FROM magicTree
    11 JOIN magicRun USING(magic_id)
     10FROM magicRun
     11JOIN magicTree USING(magic_id)
     12JOIN magicInputSkyfile USING(magic_id, node)
    1213JOIN rawExp USING(exp_id)
     14JOIN diffSkyfile -- only get nodes that match a skycell
     15    ON diffSkyfile.diff_id = magicRun.diff_id
     16    AND diffSkyfile.skycell_id = magicInputSkyfile.node
    1317LEFT JOIN magicNodeResult USING(magic_id, node)
    1418WHERE
Note: See TracChangeset for help on using the changeset viewer.