Skip to content

Commit

Permalink
Merge pull request #21 from etalbert102/compatibilitychanges
Browse files Browse the repository at this point in the history
update to be compatibile with new geostructures version
  • Loading branch information
etalbert102 authored Oct 3, 2024
2 parents b8ceced + c4bf4c1 commit 9541485
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion geochron/_version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""The package version"""

__version__ = 'v0.5.2' # pragma: no cover
__version__ = 'v0.5.3' # pragma: no cover
4 changes: 2 additions & 2 deletions geochron/geotimehash.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from typing import Callable, List
from collections import Counter
from datetime import datetime, timedelta
from geostructures.structures import ShapeBase
from geostructures.typing import GeoShape
from geostructures.time import TimeInterval
from geostructures import FeatureCollection, Track

Expand Down Expand Up @@ -69,7 +69,7 @@ def generate_times(start_time: datetime, end_time: datetime, precision: int):



def timehash_geoshape(geoshape: ShapeBase, precision: int):
def timehash_geoshape(geoshape: GeoShape, precision: int):
"""
Converts a geoshape time into a list of timehashes of varying precision.
A single timepoint produces a list of 1.
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
geostructures>= 0.10.0, <1.0
geostructures>= 0.11.0, <0.12.0
numpy>=1,<2
pandas>=2,<3

0 comments on commit 9541485

Please sign in to comment.