Skip to content

Commit 08ce844

Browse files
committed
zenodo modified and auto-generated test added
1 parent a28c1cf commit 08ce844

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

.zenodo.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@
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",
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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

0 commit comments

Comments
 (0)