Skip to content

Commit 4154d4f

Browse files
committed
TEST: Fix multiecho doctest
1 parent cfda42e commit 4154d4f

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

nibabies/interfaces/multiecho.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,17 @@ class T2SMap(CommandLine):
6363
6464
Example
6565
=======
66-
>>> from fmriprep.interfaces import multiecho
66+
>>> from nibabies.interfaces import multiecho
6767
>>> t2smap = multiecho.T2SMap()
68-
>>> t2smap.inputs.in_files = ['sub-01_run-01_echo-1_bold.nii.gz', \
69-
'sub-01_run-01_echo-2_bold.nii.gz', \
70-
'sub-01_run-01_echo-3_bold.nii.gz']
68+
>>> t2smap.inputs.in_files = [
69+
... data_dir / 'sub-01_run-01_echo-1_bold.nii.gz',
70+
... data_dir / 'sub-01_run-01_echo-2_bold.nii.gz',
71+
... data_dir / 'sub-01_run-01_echo-3_bold.nii.gz']
7172
>>> t2smap.inputs.echo_times = [0.013, 0.027, 0.043]
72-
>>> t2smap.cmdline # doctest: +ELLIPSIS
73-
't2smap -d sub-01_run-01_echo-1_bold.nii.gz sub-01_run-01_echo-2_bold.nii.gz \
74-
sub-01_run-01_echo-3_bold.nii.gz -e 13.0 27.0 43.0 --fittype curvefit'
73+
>>> t2smap.cmdline # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
74+
't2smap -d .../sub-01_run-01_echo-1_bold.nii.gz \
75+
.../sub-01_run-01_echo-2_bold.nii.gz \
76+
.../sub-01_run-01_echo-3_bold.nii.gz -e 13.0 27.0 43.0 --fittype curvefit'
7577
"""
7678
_cmd = 't2smap'
7779
input_spec = T2SMapInputSpec

0 commit comments

Comments
 (0)