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

bugfix/supported_files #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

BrianWhitneyAI
Copy link
Contributor

@BrianWhitneyAI BrianWhitneyAI commented Dec 12, 2024

Description

The purpose of this PR is to distinguish glob files from tiff files in _is_supported_image() by calling the init directly. This Pr also adds some error handling to the init so that if the file fails to initialize it will raise an UnsupportedFileFormatError. This PR is half of a response to #7.

How to Review

This PR looks larger than it is due to wrapping the init in try/except. Please look at the _is_supported_image() and the specific error handling for the init.

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