Skip to content

Commit 61b094b

Browse files
committed
fix error using fname_presuffix
1 parent 3a8a2fa commit 61b094b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fmriprep/interfaces/itk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def _run_interface(self, runtime):
101101
orig_afni_mat = np.loadtxt(self.inputs.in_file)
102102
afni_affines = [mat.reshape(3, 4, order='C') for mat in orig_afni_mat]
103103

104-
out_file = Path(fname_presuffix(self.inputs.in_file,
104+
out_file = Path(fname_presuffix(self.inputs.in_file, use_ext=False,
105105
suffix='_mc4d_itk.txt', newpath=runtime.cwd))
106106

107107
fixed_params = 'FixedParameters: 0 0 0' # Center of rotation does not change

0 commit comments

Comments
 (0)