From ec0c202beadfea22f438660bb8c6cc0e54389903 Mon Sep 17 00:00:00 2001 From: Jurie Germishuys Date: Wed, 2 Oct 2024 10:27:44 +0200 Subject: [PATCH] Fix centered coordinates --- kso_utils/zooniverse_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kso_utils/zooniverse_utils.py b/kso_utils/zooniverse_utils.py index a75185cb..0c1f0a25 100644 --- a/kso_utils/zooniverse_utils.py +++ b/kso_utils/zooniverse_utils.py @@ -514,7 +514,7 @@ def process_zoo_classifications( int(i["y"]) if "y" in i else ( - int(i["y_center"] + 0.5 * i["height"]) + int(i["y_center"] - 0.5 * i["height"]) if "y_center" in i else None )