IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13992


Ignore:
Timestamp:
Jun 29, 2007, 3:23:27 PM (19 years ago)
Author:
jhoblitt
Message:

refactor chiptool & db to preserve metadata history

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/backtrack/dbconfig/chip.md

    r13937 r13992  
    22# class is missing
    33
    4 chipPendingExp METADATA
     4chipRun METADATA
    55    chip_id     S64         0       # Primary Key AUTO_INCREMENT
    6     exp_tag     STR         64      # Primary Key
    7     guide_id    S64         0       # Not NULL
     6    state       STR         64      # key
    87    workdir     STR         255
     8    workdir_state STR       64      # key
    99    label       STR         64      # key
    1010    reduction   STR         64      # Reduction class
     
    1616
    1717chipPendingImfile METADATA
    18     chip_id     S64         0       # Primary Key
     18    chip_id     S64         0       # Primary Key fkey (chip_id) ref chipRun(chip_id)
     19    exp_tag     STR         64      # Primary Key fkey (exp_tag, class_id) ref rawImfile (exp_tag, class_id)
    1920    class_id    STR         64      # Primary Key
    20     uri         STR         255
    2121END
    2222
    2323# nclass & ndone?
    2424# and/or logging imfile done better?
    25 
    26 chipProcessedExp METADATA
    27     chip_id     S64         0       # Primary Key
    28     exp_tag     STR         64      # Primary Key
    29     guide_id    S64         0       # Not NULL
    30     workdir     STR         255
    31     label       STR         64      # key
    32     reduction   STR         64
    33     expgroup    STR         64      # key
    34     dvodb       STR         255
    35 END
    3625
    3726chipMask METADATA
     
    4332
    4433chipProcessedImfile METADATA
    45     chip_id     S64         0       # Primary Key
    46 # exp_tag/guide_id are redudant with the values stored in chipProcessedExp.
    47 # exp_tag can be removed at virtually any time (SQL queriers will need to be
    48 # fixed) but guide_id needs to wait until we know if this can be tracked at
    49 # just the exp level.
     34    chip_id     S64         0       # Primary Key fkey (chip_id, exp_tag, class_id) ref chipPendingImfile(chip_id, exp_tag, class_id)
     35    exp_tag     STR         64      # Primary Key
    5036    class_id        STR     64      # Primary Key
    5137    uri             STR     255
Note: See TracChangeset for help on using the changeset viewer.