Ignore:
Timestamp:
26/04/10 10:15:34 (9 years ago)
Author:
sdonegan
Message:

Added DIF_9.4 type to allow for full MEDIN provider portal ingestion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery-OaiInfoEditor/trunk/v3n_NDG3/OAIInfoEditor/oai_info_editor/model/formattype.py

    r6839 r6843  
    3333ISO_FLAG = 8 
    3434MEDIN_FLAG = 999 # !! 
     35DIF94_FLAG = 123 # !! 
    3536 
    3637 
     
    4041ISO_NAME = 'iso' 
    4142MEDIN_NAME = 'MEDIN_2.3' 
     43DIF94_NAME = 'DIF_9.4' 
    4244 
    4345DIF = FormatType(DIF_FLAG, DIF_NAME, 'PaleTurquoise') 
     
    4648ISO = FormatType(ISO_FLAG, ISO_NAME, 'Wheat') 
    4749MEDIN = FormatType(MEDIN_FLAG, MEDIN_NAME, 'Yellow') 
     50DIF94 = FormatType(DIF94_FLAG, DIF94_NAME, 'PaleBlue') 
    4851 
    49 ALL_TYPES = [DIF, MDIP, GCMD, ISO, MEDIN] 
    50 ALL_NAMES = [DIF_NAME, MDIP_NAME, GCMD_NAME, ISO_NAME, MEDIN_NAME] 
     52ALL_TYPES = [DIF, MDIP, GCMD, ISO, MEDIN, DIF94] 
     53ALL_NAMES = [DIF_NAME, MDIP_NAME, GCMD_NAME, ISO_NAME, MEDIN_NAME, DIF94_NAME] 
    5154 
    5255def getFormatType(name): 
Note: See TracChangeset for help on using the changeset viewer.