Ignore:
Timestamp:
Apr 17, 2009, 3:47:54 PM (16 years ago)
Author:
rwilson
Message:

Most recent changes to SVN - moving to Linux box.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/numpy_anuga_validation/automated_validation_tests/patong_beach_validation/validate_patong.py

    r6828 r6832  
    143143            return False
    144144
    145     # unpack *.tgz files
    146     for data_object in Local_Data_Objects:
    147         tar_path = os.path.join(Local_Data_Directory, data_object+'.tgz')
    148         log.info('Untarring %s in directory %s ...'
    149                  % (tar_path, Local_Data_Directory))
    150         untar_file(tar_path, target_dir=Local_Data_Directory)
    151        
    152145    log.info('Local data has been refreshed.')
    153146    return True
     
    185178    log.critical('You have the required files.')
    186179
    187     # now untar file/directory objects
    188     for data_object in Local_Data_Objects:
    189         tar_path = os.path.join(Local_Data_Directory, data_object+'.tgz')
    190         log.info('Untarring %s in directory %s ...'
    191                  % (tar_path, Local_Data_Directory))
    192         untar_file(tar_path, target_dir=Local_Data_Directory)
    193 
    194180    return True
    195181
     
    198184    '''Run the Patong simulation.'''
    199185   
     186##    # now untar file/directory objects
     187##    for data_object in Local_Data_Objects:
     188##        tar_path = os.path.join(Local_Data_Directory, data_object+'.tgz')
     189##        log.info('Untarring %s in directory %s ...'
     190##                 % (tar_path, Local_Data_Directory))
     191##        untar_file(tar_path, target_dir=Local_Data_Directory)
     192
    200193    # modify environment so we use the local data
    201194    new_inundationhome = os.path.join(Local_Data_Directory, '')
     
    325318
    326319# clean up
    327 teardown()
     320#teardown()
Note: See TracChangeset for help on using the changeset viewer.