LSSTDESC / tables_io

A small package to provide tools to read / write and convert tabular data for DESC
MIT License
1 stars 1 forks source link

Extend supported input types types in writeDictToHdf5 #54

Closed OliviaLynn closed 1 year ago

OliviaLynn commented 1 year ago

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.

OliviaLynn commented 1 year ago

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