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

Show stderr when mri_vol2surf fails #172

Merged
merged 1 commit into from
Feb 8, 2017
Merged

Conversation

mwaskom
Copy link
Member

@mwaskom mwaskom commented Jan 27, 2017

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.

@larsoner
Copy link
Contributor

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))
Copy link
Contributor

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...

Copy link
Member Author

Choose a reason for hiding this comment

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

@agramfort
Copy link
Contributor

ok +1 for merge then

provided we fix travis :)

@larsoner
Copy link
Contributor

larsoner commented Feb 8, 2017

I'll rebase this now that Travis works again and merge if it's good to go

@coveralls
Copy link

coveralls commented Feb 8, 2017

Coverage Status

Coverage remained the same at 77.248% when pulling a81ebec on project_volume_data_stderr into a5dd4ac on master.

@larsoner larsoner merged commit be31a94 into master Feb 8, 2017
@larsoner larsoner deleted the project_volume_data_stderr branch February 8, 2017 18:47
@larsoner
Copy link
Contributor

larsoner commented Feb 8, 2017

Thanks @mwaskom

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.

4 participants