Skip to content

Conversation

@swederik
Copy link
Contributor

The DICOM Data Loader Operator has a small issue where if there is any non-DICOM file in the folder, the reader will fail entirely.

I encountered this on MacOS because it creates .DS_Store files in each directory automatically.

This just adds a bit of error handling to log out which files did not read correctly and continue processing those that did.

I'm not sure I've added the logger properly though, because I couldn't get it to actually log anything (though it matches how it's used in other files). Using print() worked fine though.

Thanks!

… the input directory

Signed-off-by: Erik <erik.ziegler@radicalimaging.com>
@MMelQin
Copy link
Collaborator

MMelQin commented Mar 2, 2022

@swederik Thanks for PR.
There had been an issues raised and I had put in a fix to relax the restriction on the DICOM loader while maintaining some sanity. Please see Issue #266, merged PR #273, and the aborted PR #267 where I had some comments.

@swederik
Copy link
Contributor Author

swederik commented Mar 2, 2022

OK so it looks like I can close this then! Thanks!

@swederik swederik closed this Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants