Changeset 5182
- Timestamp:
- Mar 31, 2008, 4:58:47 PM (17 years ago)
- Location:
- anuga_core/source/anuga/abstract_2d_finite_volumes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/abstract_2d_finite_volumes/test_util.py
r5181 r5182 1335 1335 def test_make_plots_from_csv_files(self): 1336 1336 1337 if sys.platform == 'win32': #Windows1337 #if sys.platform == 'win32': #Windows 1338 1338 try: 1339 1339 import pylab … … 1372 1372 1373 1373 dir, name=os.path.split(fileName) 1374 make_plots_from_csv_file(directories_dic={dir:['gauge', 0, 0]},1375 output_dir=temp_dir,1376 base_name='time_series_',1377 plot_numbers=['3-5'],1378 quantities=['speed','stage','momentum'],1379 assess_all_csv_files=True,1380 extra_plot_name='test')1374 csv2timeseries_graphs(directories_dic={dir:['gauge', 0, 0]}, 1375 output_dir=temp_dir, 1376 base_name='time_series_', 1377 plot_numbers=['3-5'], 1378 quantities=['speed','stage','momentum'], 1379 assess_all_csv_files=True, 1380 extra_plot_name='test') 1381 1381 1382 1382 #print dir+sep+name[:-4]+'_stage_test.png' -
anuga_core/source/anuga/abstract_2d_finite_volumes/util.py
r5181 r5182 1512 1512 assess_all_csv_files=True, 1513 1513 extra_plot_name='test' ): 1514 1515 print 'make_plots_from_csv_file has been replaced by csv2timeseries_graphs ', 1516 print 'Please use "from anuga.abstract_2d_finite_volumes.util import csv2timeseries_graphs"' 1517 1514 1515 msg = 'make_plots_from_csv_file has been replaced by csv2timeseries_graphs ', 1516 msg += 'Please use "from anuga.abstract_2d_finite_volumes.util import csv2timeseries_graphs"' 1517 1518 raise Exception, msg 1518 1519 return csv2timeseries_graphs(directories_dic, 1519 1520 output_dir,
Note: See TracChangeset
for help on using the changeset viewer.