Closed fhnaumann closed 7 months ago
Thanks for the report @wand555
The error seems to come from the create_sample()
-method in WsiDicomizer/dataset.py. Im not sure if this error is limited to WsiDicomizer and WsiDicom. It seems that changes in pydicom 2.4.0 breaks the highdicom content dataset, and it is a know issue.
I have found the issue and submitted an issue and fix at the pydicom level:
https://github.com/pydicom/pydicom/pull/1813 and https://github.com/pydicom/pydicom/pull/1814
@CPBridge fixed some of the issues, but we still get an error when doing deepcopy() on some datasets (issue).
Waiting for a fix at pydicom or that I implement a way to make the datasets without the need to deepcopy. Meantime will restrict the pydicom version to < 2.4.
Fixed in 0.12.0 as we no longer need to make deepcopy of datasets.
This library (and probably wsidicom) don't work with the latest pydicom release (version 2.4; released on the 13.06.23). Everytime I use the cli command or the python interface I get a
TypeError: unhashable type: 'Dataset'
.I don't know what exactly is causing the issue but so far I'm just staying on pydicom version 2.3.1 to avoid this issue.
The full error message after running the command
wsidicomizer -i CMU-1.tiff -o .
is