Opened 18 years ago
Closed 15 years ago
#82 closed defect (fixed)
do not let mesh interface accept duplicate tags
Reported by: | duncan | Owned by: | duncan |
---|---|---|---|
Priority: | low | Milestone: | Mesh generation maintenance |
Component: | Architecture and API | Version: | 1.0 |
Severity: | normal | Keywords: | |
Cc: |
Description (last modified by duncan)
Do not let mesh interface accept duplicate tags. See revision 3133 for a great test Ole made to show this feature
additionally, catch bad indexes of segments. this is what currently happens;
Traceback (most recent call last): File "run_sydney_smf.py", line 146, in ? verbose = True) File "Z:\inundation\sandpits\jsexton\ANUGA\inundation\caching\caching.py", lin e 349, in cache T = apply(func,args,kwargs) File "Z:\inundation\sandpits\jsexton\ANUGA\inundation\pmesh\mesh_interface.py" , line 86, in create_mesh_from_regions geo_reference=poly_geo_reference) File "Z:\inundation\sandpits\jsexton\ANUGA\inundation\pmesh\mesh.py", line 660 , in add_region_from_polygon region=create_region) File "Z:\inundation\sandpits\jsexton\ANUGA\inundation\pmesh\mesh.py", line 719 , in _add_area_from_polygon segment_tags[i] = key IndexError: list assignment index out of range
Change History (4)
comment:1 Changed 18 years ago by duncan
- Description modified (diff)
- Summary changed from Added test for duplicate tags in mesh interface to do not let mesh interface accept duplicate tags
comment:2 Changed 18 years ago by duncan
- Description modified (diff)
comment:3 Changed 18 years ago by anonymous
- Priority changed from normal to low
comment:4 Changed 15 years ago by nariman
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.