openslide / openslide-python

Python bindings to OpenSlide
https://openslide.org/
GNU Lesser General Public License v2.1
374 stars 183 forks source link

No DICOM support in Anaconda version of openslide-python 1.3.1 #233

Closed markemus closed 1 year ago

markemus commented 1 year ago

Operating system

Ubuntu

Platform

64-bit x86

OpenSlide Python version

1.3.1

OpenSlide version

unknown

Slide format

DCM

Issue details

I installed openslide-python using conda install -c conda-forge openslide-python. I get openslide.lowlevel.OpenSlideUnsupportedFormatError with:

>>> openslide.OpenSlide("000001.dcm")                                           

when trying to import the first DICOM image from the 3DHISTECH example file.

bgilbert commented 1 year ago

OpenSlide Python is just a wrapper around OpenSlide. DICOM support requires OpenSlide 4.0.0, conda-forge hasn't updated to 4.0.0 yet, and the update will require some effort. If you'd like to work on updating the package, I'm sure the recipe maintainers would appreciate the help!