Changeset 694


Ignore:
Timestamp:
21/07/16 14:58:35 (4 years ago)
Author:
mjuckes
Message:

distrib candidate .. checks fixed

Location:
CMIP6dreq/trunk/dreqPy
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CMIP6dreq/trunk/dreqPy/docs/dreqManifest.txt

    r693 r694  
    11## Manifest for data request 
    2 out/dreq.xml out/dreq2Defn.xml 
    3 out/dreqSupp.xml out/dreqSuppDefn.xml 
     2docs/dreq.xml docs/dreq2Defn.xml 
     3docs/dreqSupp.xml docs/dreqSuppDefn.xml 
  • CMIP6dreq/trunk/dreqPy/simpleCheck.py

    r693 r694  
    4545    self.ok = True 
    4646    self.entryPoint = sys.argv[0].split( '/' )[-1] 
     47    ##if os.path.isdir( 'out' ): 
     48      ##self.docdir = 'out' 
     49    ##elif os.path.isdir( 'docs' ): 
     50      ##self.docdir = 'docs' 
     51    ##else: 
     52      ##assert False, 'Document directory not found' 
    4753 
    4854#document directory 
     
    7985  def _ch02_importSample(self): 
    8086    import dreq 
    81     self.dq = dreq.loadDreq( manifest='out/dreqManifest.txt'  ) 
     87    self.dq = dreq.loadDreq( manifest='%s/dreqManifest.txt' % self.docdir  ) 
    8288    print ( 'Dreq sample load checked' ) 
    8389    self.ok = True 
     
    8692    nn = 0 
    8793    import dreq 
    88     self.dq = dreq.loadDreq( manifest='out/dreqManifest.txt'  ) 
     94    self.dq = dreq.loadDreq( manifest='%s/dreqManifest.txt' % self.docdir  ) 
    8995    for section in self.dq.coll : 
    9096      ks=[k for k in self.dq.coll[section].attDefn.keys() if self.dq.coll[section].attDefn[k].useClass == 'internalLink'] 
Note: See TracChangeset for help on using the changeset viewer.