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]: improve html representation of Zarr Arrays in NWB #224

Open
3 tasks done
stephprince opened this issue Oct 31, 2024 · 0 comments
Open
3 tasks done

[Feature]: improve html representation of Zarr Arrays in NWB #224

stephprince opened this issue Oct 31, 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

@stephprince
Copy link
Contributor

What would you like to see added to HDMF-ZARR?

When hdmf-dev/hdmf#1100 is merged into hdmf, it would be nice to add a generate_dataset_html method to ZarrIO to improve the html representation of Zarr Arrays.

Is your feature request related to a problem?

No response

What solution would you like?

I believe a Zarr implementation that looks something like this should work:

def generate_dataset_html(dataset):
    """Generates an html representation for a dataset for the ZarrIO class"""

    # get info from zarr array and generate html repr
    zarr_info_dict = {k:v for k, v in dataset.info_items()}
    repr_html = generate_array_html_repr(zarr_info_dict, dataset, "Zarr Array")

    return repr_html

Do you have any interest in helping implement the feature?

Yes.

Code of Conduct

@stephprince stephprince self-assigned this Oct 31, 2024
@mavaylon1 mavaylon1 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
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