Skip to content

Commit d3d30f4

Browse files
committed
reverted doc test
1 parent 4def5b7 commit d3d30f4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

nipype/interfaces/dcm2nii.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,9 @@ 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
220219
>>> converter.inputs.output_dir = '.'
221220
>>> converter.cmdline
222-
'dcm2niix -b y -z i -m n -f %q -o . -s y -v n functional_1.dcm'
221+
'dcm2niix -b y -z i -m n -f %t%p -o . -s n -v n functional_1.dcm'
223222
"""
224223

225224
input_spec = Dcm2niixInputSpec
@@ -260,7 +259,6 @@ def _parse_stdout(self, stdout):
260259
output_dir = self.inputs.output_dir
261260
else:
262261
output_dir = self._gen_filename('output_dir')
263-
264262
out_file = os.path.abspath(os.path.join(output_dir, fname))
265263
# extract bvals
266264
if find_b:

0 commit comments

Comments
 (0)