Changeset 192


Ignore:
Timestamp:
11/07/14 09:28:25 (6 years ago)
Author:
mjuckes
Message:

inserted basic directory creation for summary html option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CCCC/branches/branch-mnj/ceda_cc/summary.py

    r188 r192  
    33 
    44HERE = os.path.dirname(__file__) 
     5if HERE == '': 
     6  HERE = '.' 
     7print '############################ %s' % HERE 
    58 
    69def cmin(x,y): 
     
    120123 
    121124  def htmlout( self, ee, ff, esum ): 
     125    if not os.path.isdir( 'html' ): 
     126      os.mkdir( 'html' ) 
     127      os.mkdir( 'html/files' ) 
     128      os.mkdir( 'html/errors' ) 
    122129    about = """<p>Output from CEDA CC</p> 
    123130<p>This report contains a list of errors for each file, and a list of files associated with each error.</p> 
Note: See TracChangeset for help on using the changeset viewer.