File tree Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ class TOPUP(FSLCommand):
199
199
>>> topup.inputs.in_file = "b0_b0rev.nii"
200
200
>>> topup.inputs.encoding_file = "topup_encoding.txt"
201
201
>>> 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 '
203
203
>>> res = topup.run() # doctest: +SKIP
204
204
205
205
"""
Original file line number Diff line number Diff line change @@ -22,14 +22,20 @@ def test_ApplyTOPUP_inputs():
22
22
in_index = dict (argstr = '%s' ,
23
23
mandatory = True ,
24
24
),
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' ],
27
31
),
28
32
interp = dict (argstr = '--interp=%s' ,
29
33
),
30
34
method = dict (argstr = '--method=%s' ,
31
35
),
32
- out_base = dict (argstr = '--out=%s' ,
36
+ out_corrected = dict (argstr = '--out=%s' ,
37
+ name_source = ['in_files' ],
38
+ name_template = '%s_corrected' ,
33
39
),
34
40
output_type = dict (),
35
41
terminal_output = dict (mandatory = True ,
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ def test_TOPUP_inputs():
40
40
),
41
41
out_base = dict (argstr = '--out=%s' ,
42
42
hash_files = False ,
43
- keep_extension = True ,
44
43
name_source = ['in_file' ],
45
44
name_template = '%s_base' ,
46
45
),
Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ numpy>=1.3
2
2
scipy >= 0.7
3
3
networkx >= 1.0
4
4
traits >= 4.0
5
- dateutil >= 1.5
5
+ # dateutil>=1.5
6
6
nibabel >= 1.0
7
7
nose >= 1.0
You can’t perform that action at this time.
0 commit comments