Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mavaylon1 committed Aug 3, 2024
1 parent 2387a5e commit bfc85d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hdmf/backends/hdf5/h5tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1493,7 +1493,7 @@ def __list_fill__(cls, parent, name, data, matched_spec_shape, expandable, optio
# Don't override existing settings
if 'maxshape' not in io_settings:
if matched_spec_shape is not None:
io_settings['maxshape'] = tuple([None]*len(matched_spec_shape))
io_settings['maxshape'] = matched_spec_shape
else:
io_settings['maxshape'] = tuple([None]*len(data_shape))
# Create the dataset
Expand Down

0 comments on commit bfc85d1

Please sign in to comment.