Skip to content

Commit 87d95cb

Browse files
committed
Fixing errors to attend #830
1 parent 07151c4 commit 87d95cb

File tree

4 files changed

+35
-3
lines changed

4 files changed

+35
-3
lines changed

nipype/algorithms/tests/test_auto_Distance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from nipype.testing import assert_equal
3-
from nipype.algorithms.misc import Distance
3+
from nipype.algorithms.eval import Distance
44

55
def test_Distance_inputs():
66
input_map = dict(ignore_exception=dict(nohash=True,
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
2+
from nipype.testing import assert_equal
3+
from nipype.algorithms.eval import ErrorMap
4+
5+
def test_ErrorMap_inputs():
6+
input_map = dict(ignore_exception=dict(nohash=True,
7+
usedefault=True,
8+
),
9+
in_ref=dict(mandatory=True,
10+
),
11+
in_tst=dict(mandatory=True,
12+
),
13+
mask=dict(),
14+
method=dict(usedefault=True,
15+
),
16+
out_map=dict(),
17+
)
18+
inputs = ErrorMap.input_spec()
19+
20+
for key, metadata in input_map.items():
21+
for metakey, value in metadata.items():
22+
yield assert_equal, getattr(inputs.traits()[key], metakey), value
23+
24+
def test_ErrorMap_outputs():
25+
output_map = dict(out_map=dict(),
26+
)
27+
outputs = ErrorMap.output_spec()
28+
29+
for key, metadata in output_map.items():
30+
for metakey, value in metadata.items():
31+
yield assert_equal, getattr(outputs.traits()[key], metakey), value
32+

nipype/algorithms/tests/test_auto_FuzzyOverlap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from nipype.testing import assert_equal
3-
from nipype.algorithms.misc import FuzzyOverlap
3+
from nipype.algorithms.eval import FuzzyOverlap
44

55
def test_FuzzyOverlap_inputs():
66
input_map = dict(ignore_exception=dict(nohash=True,

nipype/algorithms/tests/test_auto_Overlap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from nipype.testing import assert_equal
3-
from nipype.algorithms.misc import Overlap
3+
from nipype.algorithms.eval import Overlap
44

55
def test_Overlap_inputs():
66
input_map = dict(ignore_exception=dict(nohash=True,

0 commit comments

Comments
 (0)