Skip to content

Commit

Permalink
add hint to error message
Browse files Browse the repository at this point in the history
Co-authored-by: Chahan M. Kropf <[email protected]>
  • Loading branch information
emanuel-schmid and chahank authored Dec 11, 2024
1 parent e40c172 commit 1474b81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion climada/entity/exposures/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ def latitude(self):
if nonpoints:
raise ValueError(
"Can only calculate latitude from Points."
f" GeoDataFrame contains {', '.join(nonpoints)}"
f" GeoDataFrame contains {', '.join(nonpoints)}."
"Please see the lines_polygons module tutorial."
) from valerr
raise

Expand Down

0 comments on commit 1474b81

Please sign in to comment.