Skip to content

Commit

Permalink
Support fetching boolean data as binary
Browse files Browse the repository at this point in the history
  • Loading branch information
axelboc committed Aug 29, 2024
1 parent 55f9fdf commit 30d816f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion h5grove/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def _sanitize_dtype(dtype: np.dtype) -> np.dtype:
:raises ValueError: If trying to sanitize a non-numeric numpy dtype
"""
if dtype.kind not in ("f", "i", "u"):
if dtype.kind not in ("f", "i", "u", "b"):
raise ValueError(f"Unsupported numpy dtype `{dtype}`. Expected numeric dtype.")

# Convert to little endian
Expand Down

0 comments on commit 30d816f

Please sign in to comment.