Skip to content

Slicer _cmd revision and quotes around %s #3724

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrewcyung
Copy link

Summary

Fixes #2918

List of changes proposed in this PR (pull-request)

  • changed the command line string used to call the BRAINSresample utility that is included in 3D Slicer. The master branch version will not properly call the BRAINSresample utility if the user's PATH does not specifically include the full path to the command line utility. Using "Slicer --launch <name_of_Slicer_command_line_utility>" is the correct way to call it.

  • add quotation marks (with escape sequence ") to the format specifier argument when parsing file path inputs, in order to allow filenames with spaces in them.

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.

BRAINSResample interface changes
1 participant