Skip to content

Commit 9a16838

Browse files
committed
Merge pull request #891 from satra/fix/spmversion
fix: matlab versioning
2 parents 533e1b3 + 23c07b7 commit 9a16838

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nipype/interfaces/spm/base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,9 @@ def _matlab_cmd_update(self):
276276

277277
@property
278278
def version(self):
279-
version_dict = Info.version(matlab_cmd=self._matlab_cmd,
280-
paths=self._paths,
281-
use_mcr=self._use_mcr)
279+
version_dict = Info.version(matlab_cmd=self.inputs.matlab_cmd,
280+
paths=self.inputs.paths,
281+
use_mcr=self.inputs.use_mcr)
282282
if version_dict:
283283
return '.'.join((version_dict['name'].split('SPM')[-1],
284284
version_dict['release']))

0 commit comments

Comments
 (0)