Skip to content

Commit

Permalink
fix the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
martinfleis committed Feb 8, 2024
1 parent 4e85329 commit 16dd5f1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions momepy/functional/_shape.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,7 @@ def squareness(
Series
"""
if not GPD_013:
raise ImportError(
"momepy.centroid_corner_distance requires geopandas 0.13 or later. "
)
raise ImportError("momepy.squareness requires geopandas 0.13 or later. ")

def _squareness(points: DataFrame, eps: float) -> int:
pts = points.values[:-1]
Expand Down

0 comments on commit 16dd5f1

Please sign in to comment.