Ignore:
Timestamp:
26/04/16 17:58:35 (4 years ago)
Author:
mjuckes
Message:

removed rogue line in makeTables.py -> data3.js

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMIP6dreqbuild/trunk/src/framework/dreqPy/makeTables.py

    r630 r642  
    229229              {id:4, name:'Description', field:4, width: 180}, 
    230230              {id:5, name:'uid', field:5, width: 180}]; 
    231               #{id:4, name:'uid', field:4, width: 180}]; 
    232231 return columns; 
    233232}, 
     
    299298      rl.append( rr ) 
    300299      n += 1 
    301     oo = open( 'data3.js', 'w' ) 
     300    oo = open( 'data3b.js', 'w' ) 
    302301    oo.write( hdr ) 
    303302    for r in rl: 
     
    487486 
    488487htmlStyle = {} 
    489 htmlStyle['CMORvar'] = {'getIrefs':['requestVar']} 
     488htmlStyle['CMORvar'] = {'getIrefs':['__all__']} 
    490489htmlStyle['requestVarGroup'] = {'getIrefs':['requestVar','requestLink']} 
    491490htmlStyle['var'] = {'getIrefs':['CMORvar']} 
     
    496495htmlStyle['experiment'] = {'getIrefs':['__all__']} 
    497496htmlStyle['mip'] = {'getIrefs':['__all__']} 
     497htmlStyle['miptable'] = {'getIrefs':['__all__']} 
    498498htmlStyle['remarks'] = {'getIrefs':['__all__']} 
    499499htmlStyle['varChoice'] = {'getIrefs':['__all__']} 
     
    509509  assert os.path.isdir( 'tables' ), 'Before running this script you need to create a "tables" sub-directory, or edit the makeTab class' 
    510510 
    511   dq = dreq.loadDreq( htmlStyles=htmlStyle) 
     511  dq = dreq.loadDreq( htmlStyles=htmlStyle, manifest='out/dreqManifest.txt' ) 
    512512## 
    513513## add special styles to dq object "itemStyle" dictionary. 
Note: See TracChangeset for help on using the changeset viewer.