-
Notifications
You must be signed in to change notification settings - Fork 98
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
Show stderr when mri_vol2surf fails #172
Conversation
73f27f0
to
e64a4e9
Compare
Fine by me. Looks like we need to fix CIs, I'll see if it's easy |
@@ -225,7 +225,7 @@ def project_volume_data(filepath, hemi, reg_file=None, subject_id=None, | |||
out = p.returncode | |||
if out: | |||
raise RuntimeError(("mri_vol2surf command failed " | |||
"with command-line: ") + " ".join(cmd_list)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's sad not to show the command anymore. I would show both...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The command gets printed here either way: https://github.com/nipy/PySurfer/pull/172/files#diff-bd3cabf83a69fe1b0d92a1df82fc1241R222
ok +1 for merge then provided we fix travis :) |
e64a4e9
to
a81ebec
Compare
I'll rebase this now that Travis works again and merge if it's good to go |
Thanks @mwaskom |
This should make it easier to debug problems when using
project_volume_data
. Not sure why we were just printing the command line before (which gets printed anyway).Closes #171.