Ignore:
Timestamp:
Jun 25, 2007, 1:38:05 PM (17 years ago)
Author:
duncan
Message:

removing stuff that made the sww files absolute. see ticket#173

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/shallow_water/test_data_manager.py

    r4550 r4558  
    57495749       
    57505750        time = fid.variables['time'][:]
    5751         assert allclose(time, [0.5]) # the time is absolute
    5752         assert fid.starttime == 0.0
     5751        assert allclose(time, [0.0]) # the time is relative
     5752        assert fid.starttime == 0.5
    57535753       
    57545754        fid.close()
    57555755        self.delete_mux(files)
    5756         ### print "sww_file", sww_file
     5756        #print "sww_file", sww_file
    57575757        os.remove(sww_file)
    57585758       
     
    63556355        times = fid.variables['time'][:]
    63566356       
    6357         times_actual = [0,100,200,300] # times used to be relative
    6358         times_actual = [200,300,400,500] # now they are actual
     6357        times_actual = [0,100,200,300]
    63596358       
    63606359        assert allclose(ensure_numeric(times),
Note: See TracChangeset for help on using the changeset viewer.