databricks-industry-solutions / pixels

Facilitates simple large scale processing of HLS Medical images, documents, zip files. Previously at https://github.com/dmoore247/pixels
https://databricks-industry-solutions.github.io/pixels/
Other
25 stars 15 forks source link

Exception When Processing DICOMs with no Pixel Data #15

Closed ajbatta closed 9 months ago

ajbatta commented 1 year ago

If the DICOM has no pixel data an exception is thrown from the dicom_thumbnail_extractor.py class, _do_matplotlib_thumbnail method instead returning the default empty.png. Also, the the exception catch is referencing a non-existent variable "save_file" in the error message causing another exception.

dmoore247 commented 1 year ago

@ajbatta Would you have a test file or a way of reproducing?

dmoore247 commented 9 months ago

Resolved by #29