[Bug]: Support writing multidimensional string datasets and attributes #1096
Labels
category: bug
errors in the code or code behavior
priority: medium
non-critical problem and/or affecting only a small set of users
Milestone
What happened?
In trying to resolve NeurodataWithoutBorders/pynwb#1886 in HDMF, I discovered that on build, a multidimensional list or array that maps to a multidimensional dataset/attribute spec is converted to a 1-D list or array.
[['a', 'b'], ['c', 'd']]
->["['a', 'b']", "['c', 'd']"]
np.array([['a', 'b'], ['c', 'd']])
->array(["['a' 'b']", "['c' 'd']"], dtype='<U9')
Steps to Reproduce
Traceback
No response
Operating System
macOS
Python Executable
Conda
Python Version
3.12
Package Versions
No response
The text was updated successfully, but these errors were encountered: