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

Check both upper and lower corners when finding tilesize #269

Merged
merged 2 commits into from
Oct 12, 2023
Merged

Conversation

rwood-97
Copy link
Collaborator

@rwood-97 rwood-97 commented Oct 12, 2023

Summary

At the moment to get the tile size, the tile merger looks at the size of the tile found in the bottom left corner of the image. This is problematic if this tile is missing.

This PR changes it so that it tries the lower left corner, then if its not found, tries the upper right corner and then if its not found, raises an error.

Addresses #239.

Checklist before assigning a reviewer (update as needed)

  • Self-review code
  • Ensure submission passes current tests
  • Add tests

Reviewer checklist

Please add anything you want reviewers to specifically focus/comment on.

  • Everything looks ok?

@rwood-97 rwood-97 merged commit 8f15ae5 into main Oct 12, 2023
2 checks passed
@rwood-97 rwood-97 deleted the dev_download branch October 12, 2023 14:21
@rwood-97 rwood-97 added the bug Something isn't working label May 13, 2024
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