Skip to content

Conversation

@vpchung
Copy link

@vpchung vpchung commented May 10, 2023

Proposed Changes

  • adding the required -o <output image> to the -cv command example on the docs
  • only print the success message if an updated image is successful and an output image filename is provided

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.

Copy link
Contributor

@sarthakpati sarthakpati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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