Skip to content

Commit

Permalink
Update depend versions and python to 3.10.
Browse files Browse the repository at this point in the history
still some tests failing though.
  • Loading branch information
jamesfwood committed Nov 27, 2023
1 parent 8575323 commit 02b7264
Show file tree
Hide file tree
Showing 4 changed files with 990 additions and 1,582 deletions.
2 changes: 1 addition & 1 deletion podaac/subsetter/subset.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ def translate_coordinates(coords):
return translate_point(geometry) if isinstance(geometry, Point) else translate_polygon(geometry)
elif isinstance(geometry, MultiPolygon):
# Translate each polygon in the MultiPolygon
translated_polygons = [translate_longitude(subgeometry) for subgeometry in geometry]
translated_polygons = [translate_longitude(subgeometry) for subgeometry in geometry.geoms]
return MultiPolygon(translated_polygons)
else:
# Handle other geometry types as needed
Expand Down
Loading

0 comments on commit 02b7264

Please sign in to comment.