diff --git a/draugr/__init__.py b/draugr/__init__.py index a41d25e3..4b2dd354 100644 --- a/draugr/__init__.py +++ b/draugr/__init__.py @@ -5,7 +5,7 @@ __project__ = "Draugr" __author__ = "Christian Heider Lindbjerg" -__version__ = "1.1.6" +__version__ = "1.2.0" __doc__ = r""" Created on 27/04/2019 diff --git a/draugr/numpy_utilities/__init__.py b/draugr/numpy_utilities/__init__.py index 1df4ba83..2153674d 100644 --- a/draugr/numpy_utilities/__init__.py +++ b/draugr/numpy_utilities/__init__.py @@ -16,10 +16,12 @@ try: from .channel_transform import * from .manipulation import * - from .datasets import * + + # from .datasets import * from .sampling import * from .powers import * - from .signal_utilities import * + + # from .signal_utilities import * from .raster_grid_2d_masking import * from .mixing import * from .hashing import * diff --git a/draugr/numpy_utilities/hashing.py b/draugr/numpy_utilities/hashing.py index 0cd4165b..ef0f23d8 100644 --- a/draugr/numpy_utilities/hashing.py +++ b/draugr/numpy_utilities/hashing.py @@ -30,10 +30,14 @@ def positive_int_hash( ) -> int: """ - :param hasher: :param s: + :type s: str :param limit_size: + :type limit_size: Optional[int] + :param hasher: Which hashing function to use + :type hasher: callable :return: + :rtype: int """ pos_int = hasher(s.encode("utf-8")) & 0xFFFFFFFF if limit_size: # Wrap around diff --git a/requirements/requirements_writers.txt b/requirements/requirements_writers.txt index d2bcf1db..2c9cd3af 100644 --- a/requirements/requirements_writers.txt +++ b/requirements/requirements_writers.txt @@ -4,5 +4,5 @@ pandas pillow>=10.0.1 # not directly required, pinned by Snyk to avoid a vulnerability scikit-learn sorcery -tornado>=6.3.2 # not directly required, pinned by Snyk to avoid a vulnerability +tornado>=6.3.3 # not directly required, pinned by Snyk to avoid a vulnerability visdom