From 1474b8112ccb749fb111b5eedb8ce99b2e85a271 Mon Sep 17 00:00:00 2001 From: Emanuel Schmid <51439563+emanuel-schmid@users.noreply.github.com> Date: Wed, 11 Dec 2024 18:02:54 +0100 Subject: [PATCH] add hint to error message Co-authored-by: Chahan M. Kropf --- climada/entity/exposures/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/climada/entity/exposures/base.py b/climada/entity/exposures/base.py index df73a4da1..031b65eff 100644 --- a/climada/entity/exposures/base.py +++ b/climada/entity/exposures/base.py @@ -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