Skip to content

Commit

Permalink
fixed mesh_from_OrderedDict - issue HelgeGehring#150
Browse files Browse the repository at this point in the history
  • Loading branch information
duarte-jfs committed May 23, 2024
1 parent 8483e68 commit 023acd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion femwell/mesh/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def mesh_from_Dict(
rings = [
LineString(list(object.exterior.coords))
for object in listpoly
if not (object.geom_type in ["Point", "LineString"] or object.is_empty)
if not (object.geom_type in ["Point", "LineString", "MultiLineString"] or object.is_empty)
]

union = unary_union(rings)
Expand Down

0 comments on commit 023acd5

Please sign in to comment.