IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 8, 2009, 6:16:07 PM (17 years ago)
Author:
bills
Message:

change distTarget.obs_mode to distTarget.label add filter require that
label, filter, stage, cleaned be unique

File:
1 edited

Legend:

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

    r24167 r24725  
    33    chipRun.chip_id as stage_id,
    44    rawExp.exp_name as run_tag,
    5     rawExp.obs_mode,
     5    chipRun.label,
    66    distTarget.target_id,
    77    distTarget.clean
     
    99JOIN rawExp USING(exp_id)
    1010JOIN distTarget ON distTarget.stage = 'chip'
    11     AND rawExp.obs_mode = distTarget.obs_mode
     11    AND chipRun.label = distTarget.label
     12    AND rawExp.filter = distTarget.filter
    1213JOIN rcInterest USING(target_id)
    1314LEFT JOIN distRun ON distRun.stage = 'chip'
Note: See TracChangeset for help on using the changeset viewer.