Ignore:
Timestamp:
18/08/16 02:16:05 (4 years ago)
Author:
mjuckes
Message:

for python3

File:
1 edited

Legend:

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

    r717 r738  
    1 from __init__ import DOC_DIR 
     1from .__init__ import DOC_DIR 
    22import string, os, sys, collections 
    33 
     
    7979class check1(checkbase): 
    8080  def _ch01_importDreq(self): 
    81     import dreq 
     81    from . import dreq 
    8282    print ( 'Dreq software import checked' ) 
    8383    self.ok = True 
    8484 
    8585  def _ch02_importSample(self): 
    86     import dreq 
     86    from . import dreq 
    8787    self.dq = dreq.loadDreq( manifest='%s/dreqManifest.txt' % self.docdir  ) 
    8888    print ( 'Dreq sample load checked' ) 
     
    9191  def _ch03_linkCheck(self): 
    9292    nn = 0 
    93     import dreq 
     93    from . import dreq 
    9494    self.dq = dreq.loadDreq( manifest='%s/dreqManifest.txt' % self.docdir  ) 
    9595    for section in self.dq.coll : 
Note: See TracChangeset for help on using the changeset viewer.