Changeset 5104
- Timestamp:
- Mar 4, 2008, 10:09:41 AM (17 years ago)
- Files:
-
- 1 deleted
- 1 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/shallow_water/data_manager.py
r5070 r5104 4168 4168 quantities = ['HA','UA','VA'] 4169 4169 4170 for file_name in files_in: 4171 if os.access(file_name, os.F_OK) == 0 : 4172 msg = 'File %s does not exist or is not accessible' %file_name 4173 raise IOError, msg 4174 4170 #if os.access(files_in[0]+'.mux', os.F_OK) == 0 : 4171 print "dfdfds" 4172 for i, file_name in enumerate(files_in): 4173 if os.access(file_name, os.F_OK) == 0: 4174 if os.access(file_name+'.mux', os.F_OK) == 0 : 4175 msg = 'File %s does not exist or is not accessible' %file_name 4176 raise IOError, msg 4177 else: 4178 files_in[i] += '.mux' 4179 print "file_name", file_name 4180 print "files_in", files_in 4175 4181 hashed_elevation = None 4176 4182 for file_in, file_out, quantity in map(None, files_in,
Note: See TracChangeset
for help on using the changeset viewer.