File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-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 ..confounds import ACompCor
3
+
4
+
5
+ def test_ACompCor_inputs ():
6
+ input_map = dict (components_file = dict (usedefault = True ,
7
+ ),
8
+ header = dict (),
9
+ ignore_exception = dict (nohash = True ,
10
+ usedefault = True ,
11
+ ),
12
+ mask_file = dict (),
13
+ num_components = dict (usedefault = True ,
14
+ ),
15
+ realigned_file = dict (mandatory = True ,
16
+ ),
17
+ regress_poly_degree = dict (usedefault = True ,
18
+ ),
19
+ use_regress_poly = dict (usedefault = True ,
20
+ ),
21
+ )
22
+ inputs = ACompCor .input_spec ()
23
+
24
+ for key , metadata in list (input_map .items ()):
25
+ for metakey , value in list (metadata .items ()):
26
+ assert getattr (inputs .traits ()[key ], metakey ) == value
27
+
28
+
29
+ def test_ACompCor_outputs ():
30
+ output_map = dict (components_file = dict (),
31
+ )
32
+ outputs = ACompCor .output_spec ()
33
+
34
+ for key , metadata in list (output_map .items ()):
35
+ for metakey , value in list (metadata .items ()):
36
+ assert getattr (outputs .traits ()[key ], metakey ) == value
You can’t perform that action at this time.
0 commit comments