Ignore:
Timestamp:
09/05/17 14:25:12 (5 years ago)
Author:
mjuckes
Message:

01.00.09

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMIP6dreqbuild/trunk/src/framework/ing02/loadcf.py

    r990 r997  
    4848    for e in el: 
    4949      sn = str( e.getAttribute('id') ) 
    50       x = e.getElementsByTagName( 'entry_id' ) 
    51       self.alias[sn] = str( x[0].firstChild.data ) 
     50      if sn.find( ' ' ) != -1: 
     51         print 'SEVERE.sn.00001: BAD SN ALIAS: %s' % sn 
     52      else: 
     53        x = e.getElementsByTagName( 'entry_id' ) 
     54        self.alias[sn] = str( x[0].firstChild.data ) 
    5255 
    5356  def write(self,ofile='exports/l0sh/standardname'): 
Note: See TracChangeset for help on using the changeset viewer.