pynwb
pynwb copied to clipboard
[Feature]: Move NWBZarrIO to PyNWB
What would you like to see added to PyNWB?
This would be nice for users and developers. We can add "hdmf_zarr" as an optional dependency.
We are thinking of doing this when we merge hdmf-zarr into hdmf sometime in 2025.
Is your feature request related to a problem?
No response
What solution would you like?
In pynwb.__init__.py:
def _raise_hdmf_zarr_import_error():
raise ImportError("hdmf_zarr is not installed. Please install hdmf_zarr to use NWBZarrIO.")
try:
from hdmf_zarr import ZarrIO
class NWBZarrIO(ZarrIO):
# copy here
pass
except ImportError:
NWBZarrIO = _raise_hdmf_zarr_import_error
Do you have any interest in helping implement the feature?
Yes.
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
- [X] Have you checked the Contributing document?
- [X] Have you ensured this change was not already requested?