Ignore:
Timestamp:
Mar 19, 2009, 1:43:34 PM (15 years ago)
Author:
rwilson
Message:

Merged trunk into numpy, all tests and validations work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/numpy/anuga/load_mesh/loadASCII.py

    r6428 r6553  
    821821        titles = fid.variables['vertex_attribute_titles'][:]
    822822        mesh['vertex_attribute_titles'] = [x.tostring().strip() for x in titles]
    823     except:
     823    except KeyError:
    824824        pass
    825825
     
    833833        tags = fid.variables['segment_tags'][:]
    834834        mesh['segment_tags'] = [x.tostring().strip() for x in tags]
    835     except:
    836         pass
     835    except KeyError:
     836        for ob in mesh['segments']:
     837            mesh['segment_tags'].append('')
    837838
    838839    try:
Note: See TracChangeset for help on using the changeset viewer.