You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#540 mapped H5T_NATIVE_B8 to Bool. However, this seems be an error. A Bool should bit a H5T_BITFIELD with a precision of 1 as described by PyTables.
H5T_BITFIELD: This class is used to represent the Bool type. Such a type must be build using a H5T_NATIVE_B8 datatype, followed by a HDF5 H5Tset_precision call to set its precision to be just 1 bit.
h5py chooses to read the class of H5T_BITFIELD as unsigned integers: h5py/h5py#1889
@tamasgal I'm considering requiring the precision to be set to 1 to interpret the value as a Bool. Rather I think we should consider mapping H5T_NATIVE_B8 to a UInt8.
The text was updated successfully, but these errors were encountered:
#540 mapped
H5T_NATIVE_B8
toBool
. However, this seems be an error. ABool
should bit aH5T_BITFIELD
with a precision of1
as described by PyTables.h5py chooses to read the class of
H5T_BITFIELD
as unsigned integers:h5py/h5py#1889
@tamasgal I'm considering requiring the precision to be set to
1
to interpret the value as aBool
. Rather I think we should consider mappingH5T_NATIVE_B8
to aUInt8
.The text was updated successfully, but these errors were encountered: