IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12174 for trunk/ippTools/share


Ignore:
Timestamp:
Mar 1, 2007, 4:57:45 PM (19 years ago)
Author:
jhoblitt
Message:

first pass working chiptool -queuerawexp
normalize chipPending[Exp|Imfile] & chipProcessed[Exp|Imfile]

Location:
trunk/ippTools/share
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/Makefile.am

    r12097 r12174  
    99        regtool_find_unprocessed_imfile.sql \
    1010        regtool_processedimfile.sql \
    11         regtool_pendingexp.sql
     11        regtool_pendingexp.sql \
     12        chiptool_queuerawexp.sql
  • trunk/ippTools/share/chiptool_completely_processed_exp.sql

    r12096 r12174  
    1212    ON chipPendingExp.exp_tag = rawExp.exp_tag
    1313LEFT JOIN chipProcessedExp
    14     ON chipPendingExp.exp_tag = chipProcessedExp.exp_tag
     14    ON chipPendingExp.chip_id = chipProcessedExp.chip_id
    1515LEFT JOIN chipPendingImfile
    16     ON chipPendingExp.exp_tag = chipPendingImfile.exp_tag
     16    ON chipPendingExp.chip_id = chipPendingImfile.chip_id
    1717LEFT JOIN chipProcessedImfile
    18     ON chipPendingExp.exp_tag = chipProcessedImfile.exp_tag
     18    ON chipPendingExp.chip_id = chipProcessedImfile.chip_id
    1919WHERE
    20     chipProcessedExp.exp_tag IS NULL
    21     AND chipPendingImfile.exp_tag IS NULL
    22     AND chipProcessedImfile.exp_tag IS NOT NULL
     20    chipProcessedExp.chip_id IS NULL
     21    AND chipPendingImfile.chip_id IS NULL
     22    AND chipProcessedImfile.chip_id IS NOT NULL
    2323GROUP BY
    24     chipPendingExp.exp_tag
     24    chipPendingExp.chip_id
    2525HAVING rawExp.imfiles = COUNT(chipProcessedImfile.class_id)
  • trunk/ippTools/share/chiptool_find_unprocessed_imfile.pl

    r12096 r12174  
    33FROM chipPendingImfile
    44LEFT JOIN chipProcessedImfile
    5     USING(exp_tag, class_id)
     5    USING(chip_id, class_id)
    66WHERE
    7     chipProcessedImfile.exp_tag IS NULL
     7    chipProcessedImfile.chip_id IS NULL
    88    AND chipProcessedImfile.class_id IS NULL
  • trunk/ippTools/share/chiptool_pendingimfile.sql

    r12096 r12174  
    55FROM chipPendingImfile
    66JOIN chipPendingExp
    7     USING(exp_tag)
     7    USING(chip_id)
    88JOIN rawExp
    9     USING(exp_tag)
     9    ON chipPendingExp.exp_tag = rawExp.exp_tag
    1010LEFT JOIN chipMask
    1111    ON chipPendingExp.label = chipMask.label
Note: See TracChangeset for help on using the changeset viewer.