IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40535


Ignore:
Timestamp:
Sep 26, 2018, 12:20:28 PM (8 years ago)
Author:
eugene
Message:

fix processing if number of inputs is not the same as number of stacks

Location:
trunk/ippTools/share
Files:
2 edited

Legend:

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

    r23331 r40535  
    1010  COUNT(detResidImfile.class_id)
    1111FROM detRun
     12JOIN detInputExp
     13    USING (det_id, iteration)
    1214JOIN detProcessedImfile
    1315    ON  detProcessedImfile.det_id    = detRun.det_id
     16    AND detProcessedImfile.exp_id    = detInputExp.exp_id
    1417LEFT JOIN detResidImfile
    1518    ON  detResidImfile.det_id    = detProcessedImfile.det_id
  • trunk/ippTools/share/dettool_toresidimfile.sql

    r31910 r40535  
    2121FROM detRun
    2222JOIN detInputExp
    23     USING(det_id, iteration)
     23--  USING(det_id, iteration)
     24    ON detInputExp.det_id = detRun.det_id
     25    AND detInputExp.iteration = detRun.iteration
     26--  AND detInputExp.iteration = 0
    2427JOIN rawExp
    2528    ON detInputExp.exp_id = rawExp.exp_id
     
    7780  ON detInputExp.det_id    = detRun.det_id
    7881 AND detInputExp.iteration = detRun.iteration
     82-- AND detInputExp.iteration = 0
    7983JOIN rawExp
    8084  ON rawExp.exp_id = detInputExp.exp_id
     
    123127  ON detInputExp.det_id    = detRun.det_id
    124128 AND detInputExp.iteration = detRun.iteration
     129-- AND detInputExp.iteration = 0
    125130JOIN rawExp
    126131  ON rawExp.exp_id = detInputExp.exp_id
Note: See TracChangeset for help on using the changeset viewer.