diff --git a/httomolibgpu/misc/morph.py b/httomolibgpu/misc/morph.py index 2aa0d190..7a647d08 100644 --- a/httomolibgpu/misc/morph.py +++ b/httomolibgpu/misc/morph.py @@ -124,7 +124,7 @@ def data_resampler( Returns: cp.ndarray: Up/Down-scaled 3D cupy array """ - if cupywrapper.cupy_run: + if cupywrapper.cupy_run: return __data_resampler(data, newshape, axis, interpolation) else: print("data_resampler won't be executed because CuPy is not installed") @@ -136,7 +136,7 @@ def __data_resampler( data: cp.ndarray, newshape: list, axis: int = 1, interpolation: str = "linear" ) -> cp.ndarray: from cupyx.scipy.interpolate import interpn - + if data.ndim != 3: raise ValueError("only 3D data is supported") diff --git a/pyproject.toml b/pyproject.toml index 6904dc26..afa6aaf4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,6 +20,7 @@ dev_template = "{tag}" [project] name = "httomolibgpu" +version = "2.1" description = "Commonly used tomography data processing methods at DLS." readme = "README.rst" license = {text = "BSD-3-Clause"}