Skip to content

Commit

Permalink
Fix docstring and update version number (#10)
Browse files Browse the repository at this point in the history
* Add function to get neighboring placekeys

* Update documentation

* Highlight that the set of neighboring placekeys is unordered in docstring

* Add docstring change

* Update version number
  • Loading branch information
rmtrmt authored Mar 11, 2021
1 parent 4b7d237 commit f048c4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion placekey/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.9'
__version__ = '0.0.10'
2 changes: 1 addition & 1 deletion placekey/placekey.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def placekey_to_h3_int(placekey):

def get_neighboring_placekeys(placekey, dist=1):
"""
Return the set of Placekeys whose grid distance is `<= dist` from the given
Return the unordered set of Placekeys whose grid distance is `<= dist` from the given
Placekey. In this context, grid distance refers to the number of H3 cells between
two H3 cells, so that neighboring cells have distance 1, neighbors of neighbors have
distance 2, etc.
Expand Down

0 comments on commit f048c4b

Please sign in to comment.