Open lazappi opened 3 years ago
Tried doing this quickly, writing worked ok but it broke reading.
Will look at this later. I think we need to flip a few flags in h5writeAttributes
to properly save it as a UTF-8 string scalar. What was the error?
I probably should have copied it here but from memory, something along the lines of X is not a valid path
.
Just checked where this is at. If you remove the is_sparse()
check in this line:
Then writing works fine but reading the output file fails with this error:
Error in py_call_impl(callable, call_args$unnamed, call_args$named) :
TypeError: unhashable type: 'list'
Error raised while reading key 'X' of <class 'h5py._hl.group.Group'> from /
And this error on the Python side:
TypeError: unhashable type: 'list'
Error raised while reading key 'X' of <class 'h5py._hl.group.Group'> from /
Reminder to do this now that https://github.com/grimbough/rhdf5/issues/79 has been fixed.
To do:
is_sparse()
check