Skip to content

Commit 3fcb865

Browse files
committed
BF: nipype 1.0 does need it, just differently
1 parent 65dbc3c commit 3fcb865

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

heudiconv/convert.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,8 @@ def nipype_convert(item_dicoms, prefix, with_prov, bids, tmpdir):
386386
if nipype.__version__.split('.')[0] == '0':
387387
# deprecated since 1.0, might be needed(?) before
388388
convertnode.inputs.terminal_output = 'allatonce'
389+
else:
390+
convertnode.terminal_output = 'allatonce'
389391
convertnode.inputs.bids_format = bids
390392
return convertnode.run()
391393

0 commit comments

Comments
 (0)