File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed
nipype/interfaces/dipy/tests Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 8181 "name" : " Keshavan, Anisha" ,
8282 "orcid" : " 0000-0003-3554-043X"
8383 },
84+ {
85+ "affiliation" : " University of California, San Francisco" ,
86+ "name" : " Jordan, Kesshi" ,
87+ "orcid" : " 0000-0001-6313-0580"
88+ },
89+
8490 {
8591 "affiliation" : " Developer" ,
8692 "name" : " Clark, Daniel" ,
Original file line number Diff line number Diff line change 1+ # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
2+ from __future__ import unicode_literals
3+ from ..anisotropic_power import APMQball
4+
5+
6+ def test_APMQball_inputs ():
7+ input_map = dict (b0_thres = dict (usedefault = True ,
8+ ),
9+ ignore_exception = dict (nohash = True ,
10+ usedefault = True ,
11+ ),
12+ in_bval = dict (mandatory = True ,
13+ ),
14+ in_bvec = dict (mandatory = True ,
15+ ),
16+ in_file = dict (mandatory = True ,
17+ ),
18+ mask_file = dict (),
19+ out_prefix = dict (),
20+ )
21+ inputs = APMQball .input_spec ()
22+
23+ for key , metadata in list (input_map .items ()):
24+ for metakey , value in list (metadata .items ()):
25+ assert getattr (inputs .traits ()[key ], metakey ) == value
26+
27+
28+ def test_APMQball_outputs ():
29+ output_map = dict (out_file = dict (),
30+ )
31+ outputs = APMQball .output_spec ()
32+
33+ for key , metadata in list (output_map .items ()):
34+ for metakey , value in list (metadata .items ()):
35+ assert getattr (outputs .traits ()[key ], metakey ) == value
You can’t perform that action at this time.
0 commit comments