Skip to content

Commit 8b9bda3

Browse files
dPysoesteban
andauthored
Update niworkflows/interfaces/nibabel.py
Co-Authored-By: Oscar Esteban <[email protected]>
1 parent dae2a4b commit 8b9bda3

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
@@ -115,7 +115,7 @@ def _run_interface(self, runtime):
115115
files_3d = nb.four_to_three(filenii)
116116
out_files = []
117117
for i, file_3d in enumerate(files_3d):
118-
out_file = fname_presuffix(in_file, suffix="_tmp_{}".format(i))
118+
out_file = fname_presuffix(in_file, suffix=f"_idx-{i:03}")
119119
file_3d.to_filename(out_file)
120120
out_files.append(out_file)
121121

0 commit comments

Comments
 (0)