Skip to content

Commit 88dbf6e

Browse files
committed
fix: address djarecka's questions
1 parent 1572498 commit 88dbf6e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nipype/interfaces/spm/base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,10 @@ def getinfo(klass, matlab_cmd=None, paths=None, use_mcr=None):
171171
If none of the above was successful, the fallback value of
172172
'matlab -nodesktop -nosplash' will be used.
173173
paths : str
174+
Add paths to matlab session
174175
use_mcr : bool
176+
Whether to use the MATLAB Common Runtime. In this case, the
177+
matlab_cmd is expected to be a valid MCR call.
175178
176179
Returns
177180
-------
@@ -192,6 +195,7 @@ def getinfo(klass, matlab_cmd=None, paths=None, use_mcr=None):
192195
'path': klass._path,
193196
'release': klass._version
194197
}
198+
logger.debug('matlab command or path has changed. recomputing version.')
195199
mlab = MatlabCommand(matlab_cmd=matlab_cmd, resource_monitor=False)
196200
mlab.inputs.mfile = False
197201
if paths:

0 commit comments

Comments
 (0)