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

Pyramid TIFF: ignore files where the first/last IFDs have different pixel types #177

Merged

Conversation

melissalinkert
Copy link
Member

This is meant to fix an edge case where there are multiple IFDs in descending size order that could be mistaken for a pyramid. The IFDs had a mix of uint8, uint8 RGB, and uint16 data.

Adding the --extra-readers option was a work-around in the meantime.

@melissalinkert
Copy link
Member Author

09580a8 is a bonus fix for GitHub Actions artifact uploading weirdness, since apparently that's what we're doing today. /cc @sbesson

Copy link
Member

@erindiel erindiel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Internal sample data with this issue have multiple series including slide label, overview, and scan image. Without this PR, there is only a single series written to the Zarr output.

With these changes, tests across two sample datasets produce the expected number of series in the Zarr output, each with correct dimensions and pyramid resolutions.

@chris-allan chris-allan merged commit 82c966c into glencoesoftware:master Jan 12, 2023
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.

3 participants