Changeset 8807


Ignore:
Timestamp:
Apr 2, 2013, 2:01:57 PM (12 years ago)
Author:
steve
Message:

Adding in testing flag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga_validation_tests/Case_studies/Okushiri/compare_timeseries_with_measures.py

    r8787 r8807  
    2929##   
    3030##else:
     31
    3132try:
    3233    from pylab import ion, hold, plot, title, legend
     
    3940    # Create plots as png files
    4041    plotting = True
    41    
     42
     43testing = True
    4244
    4345#-------------------------
     
    153155    #print 'Allclose:', allclose(reference_value, computed_value,
    154156    #                            rtol=rtol, atol=atol)
    155     if plotting is False:
     157    if testing is True:
    156158        assert num.allclose(reference_value, computed_value,
    157159                            rtol=rtol, atol=atol), msg
Note: See TracChangeset for help on using the changeset viewer.