Skip to content

Commit 0810581

Browse files
committed
add data files and test files
1 parent f8f7fb5 commit 0810581

File tree

4 files changed

+99
-0
lines changed

4 files changed

+99
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
2+
from ..utils import Text2Vest
3+
4+
5+
def test_Text2Vest_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=0,
19+
),
20+
out_file=dict(
21+
argstr="%s",
22+
extensions=None,
23+
mandatory=True,
24+
position=1,
25+
),
26+
output_type=dict(),
27+
)
28+
inputs = Text2Vest.input_spec()
29+
30+
for key, metadata in list(input_map.items()):
31+
for metakey, value in list(metadata.items()):
32+
assert getattr(inputs.traits()[key], metakey) == value
33+
34+
35+
def test_Text2Vest_outputs():
36+
output_map = dict(
37+
out_file=dict(
38+
extensions=None,
39+
),
40+
)
41+
outputs = Text2Vest.output_spec()
42+
43+
for key, metadata in list(output_map.items()):
44+
for metakey, value in list(metadata.items()):
45+
assert getattr(outputs.traits()[key], metakey) == value
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
2+
from ..utils import Vest2Text
3+
4+
5+
def test_Vest2Text_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=0,
19+
),
20+
out_file=dict(
21+
argstr="%s",
22+
extensions=None,
23+
mandatory=True,
24+
position=1,
25+
),
26+
output_type=dict(),
27+
)
28+
inputs = Vest2Text.input_spec()
29+
30+
for key, metadata in list(input_map.items()):
31+
for metakey, value in list(metadata.items()):
32+
assert getattr(inputs.traits()[key], metakey) == value
33+
34+
35+
def test_Vest2Text_outputs():
36+
output_map = dict(
37+
out_file=dict(
38+
extensions=None,
39+
),
40+
)
41+
outputs = Vest2Text.output_spec()
42+
43+
for key, metadata in list(output_map.items()):
44+
for metakey, value in list(metadata.items()):
45+
assert getattr(outputs.traits()[key], metakey) == value

nipype/testing/data/design.mat

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/NumWaves 3
2+
/NumPoints 3
3+
/Matrix
4+
0 0 0
5+
0 0 0
6+
0 0 0

nipype/testing/data/design.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
0 0 0
2+
0 0 0
3+
0 0 0

0 commit comments

Comments
 (0)