Skip to content

Commit

Permalink
Fix codacy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rubencalje committed Nov 22, 2024
1 parent d914326 commit 1560f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nlmod/dims/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ def refine(
"geom_type line is buggy in flopy 3.3.5. "
"See https://github.com/modflowpy/flopy/issues/1405"
)
raise Exception(msg)
raise ValueError(msg)
mask = geom_types == geom_type
# features = [gdf[mask].unary_union]
features = list(gdf[mask].geometry.explode(index_parts=True))
Expand Down

0 comments on commit 1560f7a

Please sign in to comment.