Changeset 4573


Ignore:
Timestamp:
Jul 2, 2007, 11:15:16 AM (17 years ago)
Author:
duncan
Message:

small fixes

File:
1 edited

Legend:

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

    r4569 r4573  
    147147                msg = 'No file specified yet a delimiter is provided!'
    148148                raise ValueError, msg
    149             file_name = None #FIXME (Ole): Isn't this line superfluous
    150149           
    151150            if latitudes is not None or longitudes is not None or \
     
    759758        if self.file_name[-4:] == ".xya":
    760759            # FIXME (Ole): shouldn't the xya format be replaced by txt/csv?
    761 
     760            #  Currently both file formats are used.
     761           
    762762            #let's just read it all
    763763            pass
     
    783783           
    784784        else:
    785             # It looks like the file is assumed to be a csv file
     785            # assume the file is a csv file
    786786            file_pointer = open(self.file_name)
    787787            self.header, self.file_pointer = \
     
    798798        if self.file_name[-4:]== ".xya" :
    799799            # FIXME (Ole): shouldn't the xya format be replaced by txt/csv?
     800            #  Currently both file formats are used.
    800801           
    801802            if not hasattr(self,'finished_reading') or \
     
    843844           
    844845        else:
     846            # assume the file is a csv file
    845847            try:
    846848                pointlist, att_dict, geo_ref, self.file_pointer = \
Note: See TracChangeset for help on using the changeset viewer.