Ignore:
Timestamp:
17/08/16 15:28:11 (4 years ago)
Author:
mjuckes
Message:

01.beta.33

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMIP6dreq/trunk/dreqPy/vrev.py

    r693 r717  
    11"""This module has a class which will analyse the usage of variables in the data request""" 
    22import operator 
    3 import dreq 
    43import collections 
    54 
     
    124123              else: 
    125124                ei = dq.inx.uid[e] 
    126                 print 'ERROR.exptgroup.00001: empty experiment group: %s: %s' % (ei.label, ei.title) 
     125                print ( 'ERROR.exptgroup.00001: empty experiment group: %s: %s' % (ei.label, ei.title) ) 
    127126            if r._h.label in [ 'remarks','exptgroup']: 
    128127              ##print 'WARNING: link to remarks encountered' 
     
    139138 
    140139if __name__ == '__main__': 
     140  try: 
     141    import dreq 
     142  except: 
     143    import dreqPy.dreq as dreq 
    141144  dq = dreq.loadDreq() 
    142145  c = checkVar(dq) 
Note: See TracChangeset for help on using the changeset viewer.