pydicom / deid

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

fixing bug with checking if list empty #129

Closed vsoch closed 4 years ago

vsoch commented 4 years ago

This is a quick PR to address issue #128. I suspect that the DicomCleaner warrants a more thorough refactor to account for sequences and private tags, but this will only be possible when we have a solid real world example. This should solve the current bug that we can't parse a list of items to determine not empty.

Signed-off-by: vsoch vsochat@stanford.edu

Related issues: # (issue)

Please include a summary of the change(s) and if relevant, any related issues above.

SpiroGanas commented 4 years ago

Hi @vsoch

The fix worked for me.

Thank you very much!

vsoch commented 4 years ago

Awesome! Let's get it merged and released. Thanks for the bug report!

vsoch commented 4 years ago

https://pypi.org/project/deid/0.2.1/