Skip to content

Commit

Permalink
clean up for review
Browse files Browse the repository at this point in the history
  • Loading branch information
mavaylon1 committed Aug 15, 2024
1 parent 7452bee commit 626237e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/hdmf/build/objectmapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,6 @@ def __get_spec_info(self, data, spec_shape, spec_dims, spec_dtype=None):
"""This will return the dimension labels and shape by matching the data shape to a permissible spec shape."""
if spec_shape is None and spec_dims is None:
return None, None
# elif spec_shape is not None and spec_dims is None:
else:
if spec_dtype is not None and isinstance(spec_dtype, list):
data_shape = (len(data),)
Expand Down

0 comments on commit 626237e

Please sign in to comment.