pynwb icon indicating copy to clipboard operation
pynwb copied to clipboard

[Feature]: Clean up HDMFIO.load_namespaces call

Open rly opened this issue 4 months ago • 1 comments

What would you like to see added to PyNWB?

Resolve TODO in https://github.com/NeurodataWithoutBorders/pynwb/pull/1911#issuecomment-2547220686 where the class method HDMFIO.load_namespaces requires passing io._file.

Is your feature request related to a problem?

https://github.com/hdmf-dev/hdmf-zarr/issues/293

What solution would you like?

I think an HDMFIO instance should be able to call load_namespaces on the open file handled by itself, regardless of backend, so the io._file call (which does not work consistently between HDF5IO and ZarrIO) is not needed.

Do you have any interest in helping implement the feature?

Yes.

Code of Conduct

rly avatar Aug 11 '25 14:08 rly

This depends on changes in hdmf and hdmf-zarr linked above to be merged first

rly avatar Aug 21 '25 21:08 rly