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

Fix frame offsets when validate_frames != True, add validate_frames param to imread #54

Merged
merged 4 commits into from
May 26, 2022

Conversation

tlambert03
Copy link
Owner

@tlambert03 tlambert03 commented May 26, 2022

This will fix the remaining issues that @KaSaBe had after #51, mentioned in #50 (comment)

This was actually a latent bug that wasn't being tested. (@KaSaBe, your files are just fine and didn't need the validate_frames argument at all, there was just an offset error being hidden otherwise).

Test added, so shouldn't happen again

edit: The vast majority of this PR is actually mostly just docs, and adding the validate_frames argument to nd2.imread, the real fix is this line: https://github.com/tlambert03/nd2/pull/54/files#diff-0838554df4a5ec6bdc4f03e3a3d48befd1da843bc8a3edc88e361ea90671ddaeR168

@tlambert03 tlambert03 changed the title Fix frame offsets when validate_frames != True, add test Fix frame offsets when validate_frames != True, add validate_frames param to imread May 26, 2022
@tlambert03 tlambert03 merged commit 05c5451 into main May 26, 2022
@tlambert03 tlambert03 deleted the fix-frame-offsets branch May 26, 2022 22:21
@tlambert03 tlambert03 added the bug Something isn't working label Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant