From e27e8e6523719f88ca11a59f486643e160e646b0 Mon Sep 17 00:00:00 2001 From: nkarasiak Date: Thu, 22 Feb 2024 11:46:32 +0000 Subject: [PATCH] style(ruff) : automatic lint/format --- earthdaily/earthdatastore/cube_utils/geometry_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/earthdaily/earthdatastore/cube_utils/geometry_manager.py b/earthdaily/earthdatastore/cube_utils/geometry_manager.py index d63ce9e3..21431ae0 100644 --- a/earthdaily/earthdatastore/cube_utils/geometry_manager.py +++ b/earthdaily/earthdatastore/cube_utils/geometry_manager.py @@ -16,8 +16,8 @@ def to_intersects(self, crs="EPSG:4326"): def to_wkt(self, crs="EPSG:4326"): wkts = list(self._obj.to_crs(crs=crs).to_wkt()["geometry"]) - return wkts[0] if len(wkts)==1 else wkts - + return wkts[0] if len(wkts) == 1 else wkts + def to_json(self, crs="EPSG:4326"): return json.loads(self._obj.to_crs(crs=crs).to_json(drop_id=True))