File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed
nipype/interfaces/mrtrix3/tests Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
2+ from ..utils import TckSift2
3+
4+
5+ def test_TckSift2_inputs ():
6+ input_map = dict (
7+ args = dict (
8+ argstr = "%s" ,
9+ ),
10+ environ = dict (
11+ nohash = True ,
12+ usedefault = True ,
13+ ),
14+ in_file = dict (
15+ argstr = "%s" ,
16+ extensions = None ,
17+ mandatory = True ,
18+ position = - 3 ,
19+ ),
20+ in_fod = dict (
21+ argstr = "%s" ,
22+ extensions = None ,
23+ mandatory = True ,
24+ position = - 2 ,
25+ ),
26+ out_weights = dict (
27+ argstr = "%s" ,
28+ extensions = None ,
29+ mandatory = True ,
30+ position = - 1 ,
31+ ),
32+ )
33+ inputs = TckSift2 .input_spec ()
34+
35+ for key , metadata in list (input_map .items ()):
36+ for metakey , value in list (metadata .items ()):
37+ assert getattr (inputs .traits ()[key ], metakey ) == value
38+
39+
40+ def test_TckSift2_outputs ():
41+ output_map = dict (
42+ out_weights = dict (
43+ extensions = None ,
44+ ),
45+ )
46+ outputs = TckSift2 .output_spec ()
47+
48+ for key , metadata in list (output_map .items ()):
49+ for metakey , value in list (metadata .items ()):
50+ assert getattr (outputs .traits ()[key ], metakey ) == value
You can’t perform that action at this time.
0 commit comments