Skip to content

[Feature]: Move NWBZarrIO to PyNWB #1977

@rly

Description

@rly

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

Metadata

Metadata

Assignees

Labels

category: enhancementimprovements of code or code behaviorpriority: lowalternative solution already working and/or relevant to only specific user(s)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions