Skip to content

Commit

Permalink
array setting
Browse files Browse the repository at this point in the history
  • Loading branch information
mavaylon1 committed May 22, 2024
1 parent 313d7f0 commit 80c3fef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hdmf_zarr/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,8 @@ def __list_fill__(self, parent, name, data, options=None): # noqa: C901
# standard write
else:
try:
dset[:] = data # If data is an h5py.Dataset then this will copy the data
# breakpoint()
dset[:] = np.array(data) # If data is an h5py.Dataset then this will copy the data
# For compound data types containing strings Zarr sometimes does not like writing multiple values
# try to write them one-at-a-time instead then
except ValueError:
Expand Down

0 comments on commit 80c3fef

Please sign in to comment.