Changes between Version 1 and Version 2 of Ticket #82


Ignore:
Timestamp:
Jun 19, 2006, 9:18:52 AM (19 years ago)
Author:
duncan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #82 – Description

    v1 v2  
    11Do not let mesh interface accept duplicate tags. See revision 3133 for a great test Ole made to show this feature
     2
     3additionally, catch bad indexes of segments.  this is what currently happens;
     4
     5{{{
     6Traceback (most recent call last):
     7
     8  File "run_sydney_smf.py", line 146, in ?
     9
     10    verbose = True)
     11
     12  File "Z:\inundation\sandpits\jsexton\ANUGA\inundation\caching\caching.py", lin
     13
     14e 349, in cache
     15
     16    T = apply(func,args,kwargs)
     17
     18  File "Z:\inundation\sandpits\jsexton\ANUGA\inundation\pmesh\mesh_interface.py"
     19
     20, line 86, in create_mesh_from_regions
     21
     22    geo_reference=poly_geo_reference)
     23
     24  File "Z:\inundation\sandpits\jsexton\ANUGA\inundation\pmesh\mesh.py", line 660
     25
     26, in add_region_from_polygon
     27
     28    region=create_region)
     29
     30  File "Z:\inundation\sandpits\jsexton\ANUGA\inundation\pmesh\mesh.py", line 719
     31
     32, in _add_area_from_polygon
     33
     34    segment_tags[i] = key
     35
     36IndexError: list assignment index out of range
     37
     38
     39}}}