| 2 | |
| 3 | additionally, catch bad indexes of segments. this is what currently happens; |
| 4 | |
| 5 | {{{ |
| 6 | Traceback (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 | |
| 14 | e 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 | |
| 36 | IndexError: list assignment index out of range |
| 37 | |
| 38 | |
| 39 | }}} |