IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 7, 2007, 4:36:46 PM (19 years ago)
Author:
jhoblitt
Message:

fix .fault handling

File:
1 edited

Legend:

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

    r15695 r15769  
    2727        WHERE
    2828            chipRun.state = 'stop'
    29             AND (chipProcessedImfile.fault = 0 || chipProcessedImfile.fault IS NULL)
    3029        GROUP BY
    3130            chipRun.chip_id,
    3231            chipRun.exp_id
    33         HAVING COUNT(rawImfile.class_id) = COUNT(chipProcessedImfile.class_id)
     32        HAVING
     33            COUNT(rawImfile.class_id) = COUNT(chipProcessedImfile.class_id)
     34            AND SUM(chipProcessedImfile.fault) = 0
    3435        ) as Foo
    3536    ) as Bar
Note: See TracChangeset for help on using the changeset viewer.