IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 5, 2007, 10:13:45 AM (19 years ago)
Author:
jhoblitt
Message:

merge backtrace branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dbconfig/chip.md

    r13937 r14017  
    1 # do we need nclass?
    2 # class is missing
     1#
     2#  We are dependant on the assumption that there is only ever one exp_tag in a
     3#  chipRun although the database does not enforce this.
     4#
    35
    4 chipPendingExp METADATA
     6chipRun METADATA
    57    chip_id     S64         0       # Primary Key AUTO_INCREMENT
    6     exp_tag     STR         64      # Primary Key
    7     guide_id    S64         0       # Not NULL
     8    state       STR         64      # key
    89    workdir     STR         255
     10    workdir_state STR       64      # key
    911    label       STR         64      # key
    1012    reduction   STR         64      # Reduction class
     
    1315END
    1416
    15 # uris in & out ?
    16 
    17 chipPendingImfile METADATA
    18     chip_id     S64         0       # Primary Key
     17chipInputImfile METADATA
     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
    23 # nclass & ndone?
    24 # and/or logging imfile done better?
    25 
    26 chipProcessedExp METADATA
    27     chip_id     S64         0       # Primary Key
     23chipProcessedImfile METADATA
     24    chip_id     S64         0       # Primary Key fkey (chip_id, exp_tag, class_id) ref chipPendingImfile(chip_id, exp_tag, class_id)
    2825    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
    36 
    37 chipMask METADATA
    38     label       STR         64      # Primary Key
    39 END
    40 
    41 # uris in & out ?
    42 # state?
    43 
    44 chipProcessedImfile 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.
    5026    class_id        STR     64      # Primary Key
    5127    uri             STR     255
     
    7147    fault           S16     0       # Key NOT NULL
    7248END
     49
     50chipMask METADATA
     51    label       STR         64      # Primary Key
     52END
Note: See TracChangeset for help on using the changeset viewer.