Skip to content

Commit

Permalink
bug and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ajfriend committed Dec 30, 2023
1 parent bee3bd2 commit dc2f550
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/h3/api/_api_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def h3shape_to_cells(self, h3shape, res):
mpoly = h3shape
mv = _cy.polygons_to_cells(mpoly.polys, res)
else:
raise ValueError('Unrecognized type: ' + type(h3shape))
raise ValueError('Unrecognized type: ' + str(type(h3shape)))

return self._out_unordered(mv)

Expand Down Expand Up @@ -476,7 +476,7 @@ def cells_to_h3shape(self, cells, tight=True):

def geo_to_cells(self, geo, res):
""" Convert from __geo_interface__ to cells.
Parameters
----------
geo : an object implementing `__geo_interface__` or a dictionary in that format.
Expand Down

0 comments on commit dc2f550

Please sign in to comment.