LSSTDESC / tables_io

A small package to provide tools to read / write and convert tabular data for DESC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extend supported input types types in writeDictToHdf5

OliviaLynn opened this issue · comments

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.

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