Skip to content

Commit

Permalink
Merge pull request #55 from bnlawrence/master
Browse files Browse the repository at this point in the history
Minimal change to avoid a numpy deprecation failure. Without this
  • Loading branch information
jjhelmus committed Feb 22, 2024
2 parents b3bc85b + 719a2c8 commit d21662e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyfive/dataobjects.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def _attr_value(self, dtype, buf, count, offset):
""" Retrieve an HDF5 attribute value from a buffer. """
if isinstance(dtype, tuple):
dtype_class = dtype[0]
value = np.empty(count, dtype=np.object)
value = np.empty(count, dtype=object)
for i in range(count):
if dtype_class == 'VLEN_STRING':
_, _, character_set = dtype
Expand Down

0 comments on commit d21662e

Please sign in to comment.