We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20d089f commit 171e5a5Copy full SHA for 171e5a5
numcodecs/zarr3.py
@@ -60,12 +60,12 @@ def from_zarr_dtype(dtype: Any) -> np.dtype:
60
"""
61
Get a numpy data type from an array spec, depending on the zarr version.
62
63
- if version('zarr') >= Version("3.1.0"):
+ if Version(version('zarr')) >= Version("3.1.0"):
64
return dtype.to_native_dtype()
65
return dtype
66
67
def to_zarr_dtype(dtype: np.dtype) -> Any:
68
69
from zarr.dtype import parse_data_type
70
return parse_data_type(dtype)
71
0 commit comments