Skip to content
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

Update cv command #1511

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update cv command #1511

wants to merge 2 commits into from

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