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

Unsupported TIFF compression: 7 #310

Open
suminwei opened this issue Jul 3, 2024 · 4 comments
Open

Unsupported TIFF compression: 7 #310

suminwei opened this issue Jul 3, 2024 · 4 comments

Comments

@suminwei
Copy link

suminwei commented Jul 3, 2024

Hi, I am getting the following error when trying to run histoqc on .svs files.

Command:
python -m histoqc -c v2.1 -n 3 "./input_svs_test/*.svs"

Error:
2024-07-03 15:43:52,680 - INFO - -----Working on: ./input_svs_test/TCGA-CH-5765-01Z-00-DX1.ee77679a-ef5a-4326-b72c-497532f60fb0.svs 1 of 15 TIFFReadDirectory: Warning, Unknown field with tag 347 (0x15b) encountered. ./input_svs_test/TCGA-CH-5765-01Z-00-DX1.ee77679a-ef5a-4326-b72c-497532f60fb0.svs: JPEG compression support is not configured. 2024-07-03 15:43:52,701 - ERROR - ./input_svs_test/TCGA-CH-5765-01Z-00-DX1.ee77679a-ef5a-4326-b72c-497532f60fb0.svs - Error analyzing file (skipping): <class 'openslide.lowlevel.OpenSlideError'> An error produced by the OpenSlide library. Import this from openslide rather than from openslide.lowlevel. Unsupported TIFF compression: 7

I don't quite understand why it's not recognizing the .svs files?
Thank you.

@choosehappy
Copy link
Owner

choosehappy commented Jul 3, 2024 via email

@suminwei
Copy link
Author

suminwei commented Jul 3, 2024

Hi @choosehappy , thanks for the suggestion! I checked the md5sum of the file against the original that I downloaded using a manifest file from the TCGA site and they're the same.

@choosehappy
Copy link
Owner

apologies for the delay in responding - were you able to get this working? it looks like you had another issue with the HTML report you were able to resolve which seems like it's downstream from this?

@CielAl
Copy link
Contributor

CielAl commented Jul 17, 2024

apologies for the delay in responding - were you able to get this working? it looks like you had another issue with the HTML report you were able to resolve which seems like it's downstream from this?

Could be better to do some ablation study here: in the exact same environment and a different environment, can the following code parse the image.

from openslide import OpenSlide
osh = OpenSlide('./input_svs_test/TCGA-CH-5765-01Z-00-DX1.ee77679a-ef5a-4326-b72c-497532f60fb0.svs')
region = osh.read_region((0, 0), 0, (512, 512))
region.show()

It may as well be an issue of corrupted openslide dependencies and therefore we need to rule them out and confirm whether it's a HistoQC issue.

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

No branches or pull requests

3 participants