Skip to content

Remove padding from loader's chunk shape calculation #443

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

Merged
merged 2 commits into from
Sep 12, 2024
Merged

Conversation

yousefmoazzam
Copy link
Collaborator

Fixes #442

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have made corresponding changes to the documentation

Implementors of `DataSetSource` should not include padding in the
`chunk_shape` getter property.
Due to the previous change, the loader's `read_block()` method was
passing the unpadded chunk shape to the block's constructor, which is
incorrect.
@yousefmoazzam yousefmoazzam merged commit 2604715 into main Sep 12, 2024
4 of 5 checks passed
@yousefmoazzam yousefmoazzam deleted the issue-442 branch September 12, 2024 13:32
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.

StandardTomoLoader incorrectly includes padding in chunk_shape
1 participant