Skip to content

Commit a041648

Browse files
committed
autorecon1: convert_modalities output fix
1 parent a3ffceb commit a041648

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/workflows/smri/freesurfer/autorecon1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ def convert_modalities(in_file=None, out_file=None):
8686
convert.inputs.in_file = in_file
8787
convert.inputs.out_file = out_file
8888
convert.inputs.no_scale = True
89-
convert.run()
90-
out_file = os.path.abspath(convert.outputs.out_file)
89+
out = convert.run()
90+
out_file = os.path.abspath(out.outputs.out_file)
9191
return out_file
9292

9393
T2_convert = pe.Node(Function(['in_file', 'out_file'],

0 commit comments

Comments
 (0)