Changeset 5183 for anuga_validation
- Timestamp:
- Apr 1, 2008, 2:36:00 PM (17 years ago)
- Location:
- anuga_validation/automated_validation_tests/okushiri_tank_validation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/automated_validation_tests/okushiri_tank_validation/compare_timeseries_with_measures.py
r4844 r5183 14 14 15 15 import project 16 17 try: 18 from pylab import ion, hold, plot, title, legend, xlabel, ylabel, savefig 19 except: 20 print 'Could not import pylab' 16 import sys 17 18 if sys.platform == 'win32': 19 # Windows has a problem when this module is run through 20 # os.system as done by validate_okushiri. 21 # See https://datamining.anu.edu.au/anuga/ticket/235 22 23 # If you want to see the plots from this validation, 24 # run this module by itself with this if clause removed. 21 25 plotting = False 26 22 27 else: 23 # Create plots as png files 24 plotting = True 28 try: 29 from pylab import ion, hold, plot, title, legend 30 from pylab import xlabel, ylabel, savefig 31 except: 32 print 'Could not import pylab' 33 plotting = False 34 else: 35 # Create plots as png files 36 plotting = True 25 37 26 38 -
anuga_validation/automated_validation_tests/okushiri_tank_validation/validate_okushiri.py
r4783 r5183 23 23 def test_that_output_is_as_expected(self): 24 24 25 25 26 #print 26 27 s = 'create_okushiri.py' … … 33 34 res = os.system('python %s > run_okushiri.stdout' %s) 34 35 assert res == 0 36 37 35 38 s = 'compare_timeseries_with_measures.py' 36 39 #print s
Note: See TracChangeset
for help on using the changeset viewer.