Extend supported input types types in writeDictToHdf5
OliviaLynn opened this issue · comments
Olivia R. Lynn commented
I've encountered a problem when running RAIL's Goldenspike where calls are being made to writeDictToHdf5
in ioUtils.py, but use types that are not the np.ndarray
that the function expects.
(The types I've personally run into are list
and jaxlib.xla_extension.DeviceArray
).
It would be nice to extend support for writing other kinds of dicts and dict-like types to hdf5s.
Olivia R. Lynn commented
I have some code for this, but it looks like I don't have permission to create a pull request--is there any chance I could be added to the repo? @eacharles