Skip to content

Commit

Permalink
Fix missing updates for shapely2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
SorooshMani-NOAA committed Jul 13, 2023
1 parent 8e2d43e commit 482a6b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ocsmesh/hfun/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,9 @@ def add_patch(

# For expansion_rate
if expansion_rate is not None:
exteriors = [ply.exterior for ply in multipolygon]
exteriors = [ply.exterior for ply in multipolygon.geoms]
interiors = [
inter for ply in multipolygon for inter in ply.interiors]
inter for ply in multipolygon.geoms for inter in ply.interiors]

features = MultiLineString([*exteriors, *interiors])
# pylint: disable=E1123, E1125
Expand Down

0 comments on commit 482a6b9

Please sign in to comment.