pydicom / deid

best effort anonymization for medical images using python
https://pydicom.github.io/deid/
MIT License
138 stars 43 forks source link

explicitly check for DataElement before reference value #258

Closed wetzelj closed 10 months ago

wetzelj commented 10 months ago

Description

Related issues: #256

Updated filter.py empty() function to explicitly check for the tag content being an instance of a DataElement instead of assuming it's a DataElement if it isn't a string.

Checklist

Open questions

None

wetzelj commented 10 months ago

Thanks @vsoch!

vsoch commented 10 months ago

Thank you @wetzelj !!