-
Notifications
You must be signed in to change notification settings - Fork 72
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
Provide better documentation for SPM standalone setup #820
Comments
The solution was to set This raises a wider discussion regarding our support for both MATLAB and standalone distributions of SPM. Support for both can either be controlled explicitly with the Both have their pros and cons as always. |
I haven't looked into it, so apologies if this is a stupid question, but isn't this function supposed to handle the SPM standalone config ? Lines 101 to 129 in 3a4981b
|
The question is absolutely valid. Indeed this function is supposed to handle the SPM config. But there are multiple flaws I think:
|
In my opinion, instead of depending on monkey-patching, we should just let Nipype logic handle it: matlab_cmd (str): Sets the default matlab command. If None, the value of the environment variable SPMMCRCMD will be used if set and use_mcr is True or the environment variable FORCE_SPMMCR is set. If one of FORCE_SPMMCR or SPMMCRCMD is not set, the existence of the environment variable MATLABCMD is checked and its value is used as the matlab command if possible. If none of the above was successful, the fallback value of ‘matlab -nodesktop -nosplash’ will be used. i.e.:
|
Lines 80 to 98 in 444e4a4
|
This issue is considered stale because it has not received further activity for the last 14 days. You may remove the |
This issue is considered stale because it has not received further activity for the last 14 days. You may remove the |
This issue is considered stale because it has not received further activity for the last 14 days. You may remove the |
This issue is considered stale because it has not received further activity for the last 14 days. You may remove the |
This issue is considered stale because it has not received further activity for the last 14 days. You may remove the |
Discussed in #819
Originally posted by AudreyDuran November 28, 2022
Hi,
I am trying to run
t1-volume
pipeline with SPM12 standalone and clinica v0.7.2, on a custom dataset.Here are some environment variables values defined in my
~/.bashrc
:When I run the pipeline, I get the following output:
Do you have any idea about what the problem is ?
I also get the same
ValueError
when runningYou can find bellow some platform details:
Thanks a lot for your help !!
The text was updated successfully, but these errors were encountered: