CBICA / CaPTk

Cancer Imaging Phenomics Toolkit (CaPTk) is a software platform to perform image analysis and predictive modeling tasks. Documentation: https://cbica.github.io/CaPTk
https://www.cbica.upenn.edu/captk
Other
173 stars 63 forks source link

Poor error message when files cannot be loaded #1430

Closed MarkBergman-cbica closed 2 years ago

MarkBergman-cbica commented 2 years ago

Attempting to open several "dcm" files, CaPTk (1.8.2 non-release) produces the error:

Extensions for the following files were not supported, CaPTk will try to load the rest:

Notes:

Is there really a check by file extension, not the file contents? A DICOM (or NIFTi) file may be perfectly valid and usable within CaPTk regardless of the extension.

sarthakpati commented 2 years ago

@MarkBergman-cbica could you check the files you have with the builds generated by my PR #1431?