Skip to content

Commit 1400e09

Browse files
committed
Slight correction to previous PR
1 parent 3fb1b5e commit 1400e09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/interfaces/spm/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ def _make_matlab_command(self, _):
9999
moving = '%s';
100100
targetv = spm_vol(target);
101101
movingv = spm_vol(moving);
102-
x = spm_coreg(targetv,movingv);
102+
x = spm_coreg(targetv, movingv);
103103
M = spm_matrix(x);
104104
save('%s' , 'M' );
105-
M = inv(spm_matrix(x));
105+
M = inv(M);
106106
save('%s','M')
107107
"""%(self.inputs.target,
108108
self.inputs.moving,

0 commit comments

Comments
 (0)