Changeset 2951
- Timestamp:
- May 23, 2006, 5:16:54 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pyvolution/util.py
r2933 r2951 787 787 label_id1 = label_id.replace(sep,'') 788 788 label_id2 = label_id1.replace('_','') 789 texfile = 'latexoutput%s' %(label_id2) 789 texdir = getcwd()+sep+'report'+sep 790 if access(texdir,F_OK) == 0: 791 mkdir (texdir) 792 texfile = texdir+'latexoutput%s' %(label_id2) 790 793 texfilename = texfile + '.tex' 791 794 if verbose: print '\n Latex output printed to %s \n' %texfilename … … 906 909 graphname_latex = '%sgauge%s%s%s' %(latex_file_loc, gaugeloc2, which_quantity, label_id2) 907 910 # giving location in latex output file 908 graphname_report = '%sgauge%s%s%s' %(' report_figures'+altsep, gaugeloc2, which_quantity, label_id2)911 graphname_report = '%sgauge%s%s%s' %('..'+altsep+'report_figures'+altsep, gaugeloc2, which_quantity, label_id2) 909 912 910 913 label = '%s%sgauge%s' %(label_id2, which_quantity, gaugeloc2)
Note: See TracChangeset
for help on using the changeset viewer.