Changeset 4842


Ignore:
Timestamp:
Nov 21, 2007, 11:38:12 AM (16 years ago)
Author:
duncan
Message:

working on validation changes

Location:
anuga_validation/automated_validation_tests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • anuga_validation/automated_validation_tests/UQ_runup_2006/validate_uq_runup.py

    r4839 r4842  
    2020                os.remove(file)
    2121               
    22     def test_that_output_is_as_expected(self):
     22    def test_that_UQ_output_is_as_expected(self):
    2323        norm = run_dam.main()
    2424        #print "norm",norm
  • anuga_validation/automated_validation_tests/okushiri_tank_validation/compare_timeseries_with_measures.py

    r4767 r4842  
    1414import project
    1515
    16 #try:
    17 #    from pylab import ion, hold, plot, title, legend, xlabel, ylabel, savefig
    18 #except:
    19 #    print 'Could not import pylab'
    20 #    plotting = False
    21 #else:
    22 #    # Create plots as png files
    23 #    plotting = True
    24 
    25 plotting = False # No plotting when running automated validation
     16try:
     17    from pylab import ion, hold, plot, title, legend, xlabel, ylabel, savefig
     18    plot([1,2])
     19except:
     20    print 'Could not plot'
     21    plotting = False
     22else:
     23    # Create plots as png files
     24    plotting = True
     25   
     26   
     27#plotting = False # No plotting when running automated validation
    2628
    2729
  • anuga_validation/automated_validation_tests/urs_mux_files_validation/validate_Bf.py

    r4417 r4842  
    3838
    3939        # Remove garbage
    40         print 'clean up'
     40        # print 'clean up'
    4141        for file in os.listdir('.'):
    4242            if file.endswith('.sww') or\
  • anuga_validation/automated_validation_tests/validate_all.py

    r4810 r4842  
    3030
    3131for path, filename in validation_dirs_and_files:
    32     print 'filename path', path, filename
     32    # print 'filename path', path, filename
    3333
    3434    os.chdir(path)
    3535    s = 'python %s' %( filename)
    3636    os.system(s)
    37     print 'current dir', os.getcwd()
     37    # print 'current dir', os.getcwd()
    3838   
    3939    # Back to parent directory
    4040    os.chdir(os.pardir)
    4141
    42     print 'current dir', os.getcwd()
     42    # print 'current dir', os.getcwd()
    4343   
    4444   
Note: See TracChangeset for help on using the changeset viewer.