Skip to content

Updates pyrshow error message, adds tests#40

Merged
billbrod merged 1 commit intomainfrom
pyrshow_error
Feb 20, 2025
Merged

Updates pyrshow error message, adds tests#40
billbrod merged 1 commit intomainfrom
pyrshow_error

Conversation

@billbrod
Copy link
Member

When you try to use pyrshow with an image that can't be zoomed in the appropriate number of times (i.e., it's not divisible by 2 pyr.height times), the error message that gets raised comes from find_zooms and is hard to decode. This adds a pyrshow-specific error message that should hopefully make it easier to understand what's gone wrong.

@billbrod billbrod merged commit 5d243a4 into main Feb 20, 2025
37 checks passed
@billbrod billbrod deleted the pyrshow_error branch February 20, 2025 20:36
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.

1 participant