-
Notifications
You must be signed in to change notification settings - Fork 106
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
Comments
Looks like a tcga file, have you checked the md5sum to rule out corruption ?
On Jul 3, 2024 21:46, suminwei ***@***.***> wrote:
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 2024-07-03 15:43:52,685 - INFO - -----Working on: ./input_svs_test/TCGA-EJ-5532-01Z-00-DX1.07548d1f-867f-4bca-a9f3-aaed043b8753.svs 2 of 15 2024-07-03 15:43:52,689 - INFO - -----Working on: ./input_svs_test/TCGA-EJ-A46E-01Z-00-DX1.DBF5A5EC-DCD9-44E9-8303-9F61BEAE44D0.svs 3 of 15 TIFFReadDirectory: Warning, Unknown field with tag 347 (0x15b) encountered. 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 ./input_svs_test/TCGA-EJ-A46E-01Z-00-DX1.DBF5A5EC-DCD9-44E9-8303-9F61BEAE44D0.svs: JPEG compression support is not configured. TIFFReadDirectory: Warning, Unknown field with tag 347 (0x15b) encountered. 2024-07-03 15:43:52,704 - ERROR - ./input_svs_test/TCGA-EJ-A46E-01Z-00-DX1.DBF5A5EC-DCD9-44E9-8303-9F61BEAE44D0.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 ./input_svs_test/TCGA-EJ-5532-01Z-00-DX1.07548d1f-867f-4bca-a9f3-aaed043b8753.svs: JPEG compression support is not configured. 2024-07-03 15:43:52,708 - ERROR - ./input_svs_test/TCGA-EJ-5532-01Z-00-DX1.07548d1f-867f-4bca-a9f3-aaed043b8753.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 20
I don't quite understand why it's not recognizing the .svs files?
Thank you.
—
Reply to this email directly, view it on GitHub<#310>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACJ3XTCMGJER23MMWKEXEVTZKRIJPAVCNFSM6AAAAABKKGZC6SVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4DSMZTGM2DSOA>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
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. |
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. |
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.
The text was updated successfully, but these errors were encountered: