Changeset 6832 for branches/numpy_anuga_validation/automated_validation_tests/patong_beach_validation/validate_patong.py
- Timestamp:
- Apr 17, 2009, 3:47:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/numpy_anuga_validation/automated_validation_tests/patong_beach_validation/validate_patong.py
r6828 r6832 143 143 return False 144 144 145 # unpack *.tgz files146 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 152 145 log.info('Local data has been refreshed.') 153 146 return True … … 185 178 log.critical('You have the required files.') 186 179 187 # now untar file/directory objects188 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 194 180 return True 195 181 … … 198 184 '''Run the Patong simulation.''' 199 185 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 200 193 # modify environment so we use the local data 201 194 new_inundationhome = os.path.join(Local_Data_Directory, '') … … 325 318 326 319 # clean up 327 teardown()320 #teardown()
Note: See TracChangeset
for help on using the changeset viewer.