- Timestamp:
- Jan 5, 2007, 4:03:44 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/geospatial_data/geospatial_data.py
r4129 r4135 838 838 # It might not be a problem with the header 839 839 #raise TitleAmountError 840 raise IOError 840 msg = "File load error. There might be a problem with the file header" 841 raise IOError, msg 841 842 for i,num in enumerate(numbers): 842 843 num.strip() … … 844 845 #attributes.append(float(num)) 845 846 att_dict.setdefault(header[i],[]).append(float(num)) 847 #except IOError: 846 848 except ValueError: 847 849 raise SyntaxError
Note: See TracChangeset
for help on using the changeset viewer.