aolabNeuro / brain-python-interface

Other
4 stars 2 forks source link

Tuple traits not saved properly in HDF #37

Closed leoscholl closed 3 years ago

leoscholl commented 3 years ago

Better to use arrays to avoid tuples being interpreted as strings by HDF

leoscholl commented 3 years ago

how the tuples are displayed actually seems to depend on what you use to open and read the HDF file. In HDFView, yes they show up as weird strings, but in h5py they're parsed into tuples again so it's not really an issue.

just be aware.