Skip to content

Commit

Permalink
style(ruff) : automatic lint/format
Browse files Browse the repository at this point in the history
  • Loading branch information
nkarasiak authored and github-actions[bot] committed Feb 22, 2024
1 parent ea469b9 commit e27e8e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions earthdaily/earthdatastore/cube_utils/geometry_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit e27e8e6

Please sign in to comment.