Changeset 2950 for production/pt_hedland_2006/make_report.py
- Timestamp:
- May 23, 2006, 5:16:37 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
production/pt_hedland_2006/make_report.py
r2900 r2950 42 42 """ 43 43 44 from os import getcwd, sep 44 from os import getcwd, sep, altsep, mkdir, access, F_OK 45 45 import project 46 46 from pyvolution.util import sww2timeseries … … 81 81 82 82 # Start report generation 83 report_name = scenario + '_report.tex' 83 reportdir = getcwd()+sep+'report'+sep 84 if access(reportdir,F_OK) == 0: 85 mkdir (reportdir) 86 report_name = reportdir + scenario + '_report.tex' 84 87 fid = open(report_name, 'w') 85 88
Note: See TracChangeset
for help on using the changeset viewer.