Skip to content

Commit

Permalink
Update objectmapper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Jan 21, 2025
1 parent 2b482c3 commit aab88ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hdmf/build/objectmapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ def __get_dimension_labels_from_spec(self, data, spec_shape, spec_dims, spec_dty
if isinstance(spec_dtype, RefSpec):
# This assumes only one-dimensional dataset of references
data_shape = (len(data), )

Check warning on line 849 in src/hdmf/build/objectmapper.py

View check run for this annotation

Codecov / codecov/patch

src/hdmf/build/objectmapper.py#L849

Added line #L849 was not covered by tests
if len(spec_shape) != 1:
if len(spec_shape) > 1:
error_message = (

Check warning on line 851 in src/hdmf/build/objectmapper.py

View check run for this annotation

Codecov / codecov/patch

src/hdmf/build/objectmapper.py#L851

Added line #L851 was not covered by tests
"Support for building multi-dimensional datasets of references is not yet implemented."
"Open an issue in HDMF if you need this feature."
Expand Down

0 comments on commit aab88ab

Please sign in to comment.