Ignore:
Timestamp:
Oct 6, 2005, 10:20:31 AM (19 years ago)
Author:
ole
Message:

Investigated error conditions in least_squares.
NOTE: A test is currently failing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pyvolution/least_squares.py

    r1846 r1869  
    8181                 concatinate_attributelist
    8282
    83    
     83
    8484    try:
    8585        mesh_dict = import_mesh_file(mesh_file)
     
    8787        if display_errors:
    8888            print "Could not load bad file. ", e
    89         import sys; sys.exit()
     89        raise IOError  #Re-raise exception
     90       
    9091    vertex_coordinates = mesh_dict['vertices']
    9192    triangles = mesh_dict['triangles']
Note: See TracChangeset for help on using the changeset viewer.