Ignore:
Timestamp:
May 23, 2006, 5:16:37 PM (18 years ago)
Author:
sexton
Message:

moving tex files to report directory for Onslow and Pt Hedland; moving all figures to report_figures directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • production/pt_hedland_2006/make_report.py

    r2900 r2950  
    4242"""
    4343
    44 from os import getcwd, sep
     44from os import getcwd, sep, altsep, mkdir, access, F_OK
    4545import project
    4646from pyvolution.util import sww2timeseries
     
    8181
    8282# Start report generation
    83 report_name = scenario + '_report.tex'
     83reportdir = getcwd()+sep+'report'+sep
     84if access(reportdir,F_OK) == 0:
     85    mkdir (reportdir)
     86report_name = reportdir + scenario + '_report.tex'
    8487fid = open(report_name, 'w')
    8588
Note: See TracChangeset for help on using the changeset viewer.