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

Modify Zarr sink addTile to allow creation of new axes #1674

Open
annehaley opened this issue Oct 9, 2024 · 0 comments · May be fixed by #1713
Open

Modify Zarr sink addTile to allow creation of new axes #1674

annehaley opened this issue Oct 9, 2024 · 0 comments · May be fixed by #1713
Assignees

Comments

@annehaley
Copy link
Collaborator

@manthey identified a use case for the Zarr sink addTile function that is not currently supported:

ts = large_image.new()
ts.addTile(np.zeros((100, 100, 1)), x=0, y=0, z=0, z_value=1)
ts.addTile(np.zeros((100, 100, 1)), x=0, y=0, z=1, z_value=3.2)
ts.addTile(np.zeros((100, 100, 1)), x=0, y=0, z=2, z_value=6.4)
ts.addTile(np.zeros((100, 100, 1)), x=0, y=0, z=2, z_value=6.3, c=1)

This raises an exception new shape must have the same number of dimensions. The addTile function should be modified to support the addition of new axes after the first call.

Originally posted by @manthey in #1625 (comment)

@annehaley annehaley self-assigned this Oct 9, 2024
@annehaley annehaley linked a pull request Nov 1, 2024 that will close this issue
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 a pull request may close this issue.

1 participant