Ignore:
Timestamp:
05/11/15 16:41:14 (5 years ago)
Author:
mjuckes
Message:

01.beta.10

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMIP6dreq/trunk/makeTables.py

    r460 r465  
    233233assert os.path.isdir( 'html/index' ), 'Before running this script you need to create "html", "html/index" and "html/u" sub-directories, or edit the call to dq.makeHtml, and refernces to "u" in style lines below' 
    234234assert os.path.isdir( 'tables' ), 'Before running this script you need to create a "tables" sub-directory, or edit the makeTab class' 
    235 dq = dreq.loadDreq() 
     235 
     236htmlStyle = {} 
     237htmlStyle['CMORvar'] = {'getIrefs':['requestVar']} 
     238htmlStyle['requestVarGroup'] = {'getIrefs':['requestVar','requestLink']} 
     239htmlStyle['var'] = {'getIrefs':['CMORvar']} 
     240htmlStyle['objective'] = {'getIrefs':['objectiveLink']} 
     241htmlStyle['requestLink'] = {'getIrefs':['objectiveLink','requestItem']} 
     242htmlStyle['exptgroup'] = {'getIrefs':['__all__']} 
     243htmlStyle['requestItem'] = {'getIrefs':['__all__']} 
     244htmlStyle['experiment'] = {'getIrefs':['__all__']} 
     245htmlStyle['mip'] = {'getIrefs':['__all__']} 
     246htmlStyle['remarks'] = {'getIrefs':['__all__']} 
     247dq = dreq.loadDreq( htmlStyles=htmlStyle) 
    236248## 
    237249## add special styles to dq object "itemStyle" dictionary. 
Note: See TracChangeset for help on using the changeset viewer.