-
-
Notifications
You must be signed in to change notification settings - Fork 48
ImportError: cannot import name 'clean_pixel_data' from 'deid.dicom.pixels' #233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What exactly is the error? I cannot reproduce. |
Its an ImportError: cannot import name 'clean_pixel_data' from 'deid.dicom.pixels' |
okay - so look in the content of |
Why is the function deleted? Look at the master branch it should be there. https://github.com/pydicom/deid/blob/master/deid/dicom/pixels/__init__.py |
Hi @vsoch Its working after I installed deid module of version 0.2.37. Thanks for helping me again. I really appreciated it :) |
Sure thing! If you get an error like this in the future, a good way to debug is to sanity check things - e.g., if it's telling you that you can't import something, look there to see if the function name exists (as we did). And then compare your version against the latest in version control, or if it were something else (e.g, let's say you were running things with multiprocessing) you could try the same commands in a more vanilla environment. Glad to help! |
I am trying to import clean_pixel_data from deid.dicom.pixels but I got the importError.


And a quick question, Is it better to use DicomCleaner or clean_pixel_data while implementing multithreading?
The text was updated successfully, but these errors were encountered: