Skip to content

Commit d131f2e

Browse files
committed
tst: updated tests
1 parent a1d968d commit d131f2e

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

nipype/interfaces/fsl/epi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ class TOPUP(FSLCommand):
199199
>>> topup.inputs.in_file = "b0_b0rev.nii"
200200
>>> topup.inputs.encoding_file = "topup_encoding.txt"
201201
>>> topup.cmdline #doctest: +ELLIPSIS
202-
'topup --config=b02b0.cnf --datain=topup_encoding.txt --imain=b0_b0rev.nii --out=.../nipypetu'
202+
'topup --config=b02b0.cnf --datain=topup_encoding.txt --imain=b0_b0rev.nii --out=b0_b0rev_base --iout=b0_b0rev_corrected.nii.gz --fout=b0_b0rev_field.nii.gz --logout=b0_b0rev_topup.log'
203203
>>> res = topup.run() # doctest: +SKIP
204204
205205
"""

nipype/interfaces/fsl/tests/test_auto_ApplyTOPUP.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,20 @@ def test_ApplyTOPUP_inputs():
2222
in_index=dict(argstr='%s',
2323
mandatory=True,
2424
),
25-
in_topup=dict(argstr='--topup=%s',
26-
mandatory=True,
25+
in_topup_fieldcoef=dict(argstr='--topup=%s',
26+
copyfile=False,
27+
requires=['in_topup_movpar'],
28+
),
29+
in_topup_movpar=dict(copyfile=False,
30+
requires=['in_topup_fieldcoef'],
2731
),
2832
interp=dict(argstr='--interp=%s',
2933
),
3034
method=dict(argstr='--method=%s',
3135
),
32-
out_base=dict(argstr='--out=%s',
36+
out_corrected=dict(argstr='--out=%s',
37+
name_source=['in_files'],
38+
name_template='%s_corrected',
3339
),
3440
output_type=dict(),
3541
terminal_output=dict(mandatory=True,

nipype/interfaces/fsl/tests/test_auto_TOPUP.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ def test_TOPUP_inputs():
4040
),
4141
out_base=dict(argstr='--out=%s',
4242
hash_files=False,
43-
keep_extension=True,
4443
name_source=['in_file'],
4544
name_template='%s_base',
4645
),

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ numpy>=1.3
22
scipy>=0.7
33
networkx>=1.0
44
traits>=4.0
5-
dateutil>=1.5
5+
#dateutil>=1.5
66
nibabel>=1.0
77
nose>=1.0

0 commit comments

Comments
 (0)