Skip to content

Commit 9aa0655

Browse files
dPysoesteban
andcommitted
Update niworkflows/interfaces/nibabel.py
Co-Authored-By: Oscar Esteban <[email protected]>
1 parent f51f510 commit 9aa0655

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

niworkflows/interfaces/nibabel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def _run_interface(self, runtime):
113113
raise RuntimeError('Input image (%s) is not 4D.' % filenii)
114114

115115
files_3d = nb.four_to_three(filenii)
116-
out_files = []
116+
self._results['out_files'] = []
117117
for i, file_3d in enumerate(files_3d):
118118
out_file = fname_presuffix(in_file, suffix=f"_idx-{i:03}")
119119
file_3d.to_filename(out_file)

0 commit comments

Comments
 (0)