Skip to content

Commit

Permalink
lint error fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
dabhicusp committed Feb 16, 2024
1 parent 103fd7d commit 2ea35e5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions xee/ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,12 @@ def get_info(self) -> Dict[str, Any]:
rpcs.append(('projection', self.projection))

if isinstance(self.geometry, ee.Geometry):
rpcs.append(('bounds', self.geometry.bounds(proj = self.projection)))
rpcs.append(('bounds', self.geometry.bounds(proj=self.projection)))
else:
rpcs.append(('bounds', self.image_collection.first().geometry().bounds(proj = self.projection)))
rpcs.append((
'bounds',
self.image_collection.first().geometry().bounds(proj=self.projection),
))

# TODO(#29, #30): This RPC call takes the longest time to compute. This
# requires a full scan of the images in the collection, which happens on the
Expand Down

0 comments on commit 2ea35e5

Please sign in to comment.