Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Move NWBZarrIO to PyNWB #1977

Open
3 tasks done
rly opened this issue Nov 7, 2024 · 0 comments
Open
3 tasks done

[Feature]: Move NWBZarrIO to PyNWB #1977

rly opened this issue Nov 7, 2024 · 0 comments
Assignees
Labels
category: enhancement improvements of code or code behavior priority: low alternative solution already working and/or relevant to only specific user(s)
Milestone

Comments

@rly
Copy link
Contributor

rly commented Nov 7, 2024

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

@rly rly added category: enhancement improvements of code or code behavior priority: low alternative solution already working and/or relevant to only specific user(s) labels Nov 7, 2024
@rly rly added this to the Future milestone Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: enhancement improvements of code or code behavior priority: low alternative solution already working and/or relevant to only specific user(s)
Projects
None yet
Development

No branches or pull requests

2 participants