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

A buch of changes (hot fixes) to ensure nipype 1.0 compatibility #305

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

Conversation

bthirion
Copy link
Member

@bthirion bthirion commented Apr 4, 2018

A bunch of changes that are necessary for pypreprocess to work with nipype 1.0

@@ -485,7 +485,7 @@ def _configure_spm_using_mcr(spm_mcr, spm_dir, spm_version):
_logger.info('setting SPM MCR path to "{}" '
'and "use_mcr" to True'.format(spm_mcr))
spm.SPMCommand.set_mlab_paths(
matlab_cmd='{} run script'.format(spm_mcr), use_mcr=True)
matlab_cmd='{} batch'.format(spm_mcr), use_mcr=True)
Copy link
Contributor

Choose a reason for hiding this comment

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

Good catch on this. They have deprecated using "run" from recent standalone versions for SPM12. More details on this can be found here https://github.com/spm/spm12/blob/master/spm_standalone.m

I am wandering whether this might again get into script running errors when users fall back to slightly older standalone versions ?

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