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

Add a how do I? page #141

Merged
merged 3 commits into from
Jan 30, 2025
Merged

Add a how do I? page #141

merged 3 commits into from
Jan 30, 2025

Conversation

dstansby
Copy link
Collaborator

This should be a nice complement to the tutorial, and be a place to collect 'user stories'. I've only added one example at the moment, but we should certainly add more (contributions welcome!)

@will-moore
Copy link

Feel free to include the example I had at #121 (comment).
Just needs the exclude_none tweak you mentioned:

for k, v in image.model_dump(exclude_none=True).items():
    root.attrs[k] = v

@dstansby
Copy link
Collaborator Author

pre-commit.ci autofix

docs/how-to.md Outdated Show resolved Hide resolved
Co-authored-by: Jan Eglinger <[email protected]>
@dstansby dstansby marked this pull request as ready for review January 30, 2025 14:51
@dstansby dstansby merged commit b541589 into ome-zarr-models:main Jan 30, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants