-
Notifications
You must be signed in to change notification settings - Fork 38
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
Allow to set force option of dcmread #89
Comments
I don't see any downside to being more tolerant when reading. It might make sense to try reading first, and if an exception is raised issue a warning and try again with the Anyone else have suggestions? @hackermd |
I am unsure if this would be a good solution as it would try to read each dataset twice when it is not valid, which could be quite a performance hit when reading many invalid datasets. But maybe it would be a good default (with some warning when the reading initially fails) but still have some option to do a forced reading initially. |
From the documentation for |
You are right. It then sounds like a good solution. Maybe a little warning on the console could still be printed. |
Currently
dcmread
is used without theforce
option in dicomweb-client. It would be nice to make this configurable to read also maybe not so valid DICOM files.The text was updated successfully, but these errors were encountered: