Changeset 428


Ignore:
Timestamp:
Oct 20, 2004, 2:11:25 PM (20 years ago)
Author:
duncan
Message:

fixed bug in writing .tsh file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution/least_squares.py

    r424 r428  
    9191        for i in range(len(old_point_attributes)):
    9292            old_point_attributes[i].extend(new_point_attributes[i])
    93          
    94     mesh_dict['generatedpointattributelist'] = old_point_attributes
    95     mesh_dict['generatedpointattributetitlelist'] = old_title_list
     93        mesh_dict['generatedpointattributelist'] = old_point_attributes
     94        mesh_dict['generatedpointattributetitlelist'] = old_title_list
     95    else:
     96        mesh_dict['generatedpointattributelist'] = new_point_attributes
     97        mesh_dict['generatedpointattributetitlelist'] = title_list
    9698   
    9799    export_trianglulation_file(mesh_output_file, mesh_dict)
Note: See TracChangeset for help on using the changeset viewer.