Changeset 2296


Ignore:
Timestamp:
Jan 27, 2006, 9:54:02 AM (19 years ago)
Author:
duncan
Message:

comments, trying to get it to delete files it produces. Not fully done.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pyvolution/test_data_manager.py

    r2273 r2296  
    22982298        ###################
    22992299
     2300        os.remove(domain.filename + '.sww')
     2301
    23002302        bits = ['vertex_coordinates']
    23012303        for quantity in ['elevation']+domain.quantities_to_be_stored:
     
    24332435            filler = 0
    24342436            domain2 = sww2domain(filename,None,fail_if_NaN=False,NaN_filler = filler,verbose=False)
     2437
     2438           
     2439
    24352440        bits = [ 'geo_reference.get_xllcorner()',
    24362441                'geo_reference.get_yllcorner()',
     
    24522457        #print 'passed'
    24532458
     2459        #FIXME (DSG-all) this doesn't work (in windows), due to permitions
     2460        #it the file is created in the temp area this problem
     2461        # might be avoided
     2462       
    24542463        #cleanup
    24552464        #import os
     
    25432552        ##NOW TEST IT!!!
    25442553        ###################
     2554
     2555        os.remove(domain.filename + '.sww')
    25452556
    25462557        #FIXME smooth domain so that they can be compared
Note: See TracChangeset for help on using the changeset viewer.