Changeset 4489


Ignore:
Timestamp:
May 25, 2007, 12:01:52 PM (17 years ago)
Author:
ole
Message:

fix export_grid tests that called export grid on sww files from other tests

Location:
anuga_core/source/anuga/shallow_water
Files:
2 edited

Legend:

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

    r4480 r4489  
    16431643    # How many sww files are there?
    16441644    dir, base = os.path.split(basename_in)
     1645    #print "basename_in",basename_in
     1646    #print "base",base
    16451647   
    16461648    if dir == "": dir = "." # Unix compatibility
  • anuga_core/source/anuga/shallow_water/test_data_manager.py

    r4471 r4489  
    13041304        from Scientific.IO.NetCDF import NetCDFFile
    13051305
     1306        try:
     1307            os.remove('teg*.sww')
     1308        except:
     1309            pass
     1310
    13061311        #Setup
    1307         self.domain.set_name('datatest')
     1312        self.domain.set_name('teg')
    13081313
    13091314        prjfile = self.domain.get_name() + '_elevation.prj'
     
    13811386        from Scientific.IO.NetCDF import NetCDFFile
    13821387
     1388        try:
     1389            os.remove('teg*.sww')
     1390        except:
     1391            pass
     1392
    13831393        #Setup
    1384         self.domain.set_name('datatest')
     1394        self.domain.set_name('tegII')
    13851395
    13861396        swwfile = self.domain.get_name() + '.sww'
     
    15041514        from Scientific.IO.NetCDF import NetCDFFile
    15051515
     1516        try:
     1517            os.remove('teg*.sww')
     1518        except:
     1519            pass
     1520
    15061521        #Setup
    1507         self.domain.set_name('datatest')
     1522        self.domain.set_name('tegIII')
    15081523
    15091524        swwfile = self.domain.get_name() + '.sww'
Note: See TracChangeset for help on using the changeset viewer.