-
Notifications
You must be signed in to change notification settings - Fork 54
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
Fix remaining assumptions on 5D dimensions #148
Merged
Merged
Changes from 8 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
5f059c8
Fix remaining assumptions on 5D dimensions
sbesson a2ba441
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 6165582
Fix mypy errors
sbesson d61e4d5
Add error at debug level
sbesson c3927c0
Do not normalize_keys in Format.init_store()
sbesson d47f25d
Merge remote-tracking branch 'origin/master' into hcs_axes_fix
sbesson 524202d
Fix indexing in PlateLabels spec
sbesson d02a9c7
Unmark the 2D-5D plate tests as failing
sbesson 81147eb
Add and fix logging statements
will-moore 64cbd11
Don't try to view Plate labels
will-moore 41c0d8f
Update plate reading tests to not expect plate labels
will-moore f06494e
Merge pull request #1 from will-moore/hcs_axes_fix
sbesson f1a6199
Merge remote-tracking branch 'origin/master' into hcs_axes_fix
sbesson 55da640
Exclude PlateLabels from codecov
sbesson 962031f
Add comment about PlateLabel.get_pyramid_lazy fix
sbesson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How close do you think we are getting to wanting accessors for these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely feels like something the
Axes
object proposed in #124 could handle i.e.self.axes.get_y_index()
or similar?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking more about it, in https://github.com/ome/ome-zarr-py/pull/148/files#diff-b50d9715cc6e4017cfc055fd0ed73ecb5d9158e17f4d58ca5b3ba08b89c46657R581, I used
c_index = self.axes.index("c")
to avoid relying on magic numbers.With the current spec, this is also a strategy that could be used here i.e.
self.axes.index("y")
. However this will also be affected by #124 since the axes representation will become a list of dictionaries rather than a list of strings. @will-moore It looks like we need to decide on a resolution order as this PRs are becoming effectively coupled.