Skip to content

Commit a67b26f

Browse files
committed
fix: single file doctest
1 parent c3c7cfb commit a67b26f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nipype/interfaces/dcm2nii.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,10 @@ class Dcm2niix(CommandLine):
216216
>>> converter = Dcm2niix()
217217
>>> converter.inputs.source_names = ['functional_1.dcm', 'functional_2.dcm']
218218
>>> converter.inputs.compress = 'i'
219+
>>> converter.inputs.single_file = True
219220
>>> converter.inputs.output_dir = '.'
220221
>>> converter.cmdline
221-
'dcm2niix -b y -z i -m n -f %t%p -o . -s n -v n functional_1.dcm'
222+
'dcm2niix -b y -z i -m n -f %t%p -o . -s y -v n functional_1.dcm'
222223
"""
223224

224225
input_spec = Dcm2niixInputSpec

0 commit comments

Comments
 (0)