Ignore:
Timestamp:
Jan 5, 2007, 4:03:44 PM (18 years ago)
Author:
duncan
Message:

added handling of attributes to blocking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/geospatial_data/geospatial_data.py

    r4129 r4135  
    838838                    # It might not be a problem with the header
    839839                    #raise TitleAmountError
    840                     raise IOError
     840                    msg = "File load error.  There might be a problem with the file header"
     841                    raise IOError, msg
    841842                for i,num in enumerate(numbers):
    842843                    num.strip()
     
    844845                        #attributes.append(float(num))
    845846                        att_dict.setdefault(header[i],[]).append(float(num))
     847            #except IOError:           
    846848            except ValueError:
    847849                raise SyntaxError
Note: See TracChangeset for help on using the changeset viewer.