hdmf icon indicating copy to clipboard operation
hdmf copied to clipboard

Cannot write multi-dimensional string arrays

Open rly opened this issue 1 year ago • 1 comments

This only works for 1-D string arrays. I think the if statement in this code is intended to check for structured arrays / compound dtypes. Else, execution should go to get_data_shape which gets the shape correctly.

https://github.com/hdmf-dev/hdmf/blob/7426275cacc769a10ffca89836765df1355ba9db/src/hdmf/backends/hdf5/h5tools.py#L1472-L1473

rly avatar Jun 27 '24 20:06 rly

See related issue here with tests: https://github.com/hdmf-dev/hdmf/issues/1096

stephprince avatar Aug 08 '24 20:08 stephprince