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

Add canReadList function to show what sources could be used. #895

Merged
merged 1 commit into from
Jul 26, 2022

Conversation

manthey
Copy link
Member

@manthey manthey commented Jul 26, 2022

import large_image, pprint

pprint.pprint(large_image.canReadList('TCGA-02-0010-01Z-00-DX4.07de2e55-a8fe-40ee-9e98-bcb78050b9f7.svs'))

results in

[('openslide', True),
 ('multi', False),
 ('openjpeg', False),
 ('tiff', True),
 ('deepzoom', False),
 ('nd2', False),
 ('ometiff', False),
 ('tifffile', True),
 ('vips', False),
 ('pil', False),
 ('bioformats', True),
 ('gdal', True),
 ('mapnik', True)]

showing the order and utility of each source.

@manthey manthey marked this pull request as ready for review July 26, 2022 14:00
@manthey manthey merged commit b803b9c into master Jul 26, 2022
@manthey manthey deleted the can-read-list branch July 26, 2022 14:48
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