Skip to content

Add .tif to supported input extensions#112

Open
mackhankins wants to merge 1 commit into
datalab-to:masterfrom
mackhankins:fix-tif-extension
Open

Add .tif to supported input extensions#112
mackhankins wants to merge 1 commit into
datalab-to:masterfrom
mackhankins:fix-tif-extension

Conversation

@mackhankins

Copy link
Copy Markdown

Fixes #111.

get_supported_files in chandra/scripts/cli.py whitelisted .tiff but not .tif. Since .tif is the more common spelling (especially on Windows), TIFF files were rejected with "Unsupported file type: .tif" even though the model reads them fine after renaming. This adds .tif to the supported_extensions set.

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.

.tif files rejected as "Unsupported file type" (only .tiff is whitelisted)

1 participant