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
178 stars 64 forks source link

Update cv command #1511

Open vpchung opened 1 year ago

vpchung commented 1 year ago

Proposed Changes

Additional Context

Currently, when I use the -cv command without specifying an output image name, I get a ImageFileWriter error as well as a misleading success message, e.g.

$ captk -i Downloads/BraTS2021_00001.nii.gz -cv 4,3
Error occurred while trying to write the image '': /usr/local/vsts/_work/1/s/bin/ITK-source/Modules/IO/ImageBase/include/itkImageFileWriter.hxx:123:
itk::ERROR: ImageFileWriter(0x7fb2c5104d50): No filename was specified
Create Mask completed.