Skip to content

Commit 55233e9

Browse files
committed
Removed FSL PR from Camino PR
1 parent 73b7943 commit 55233e9

File tree

4 files changed

+118
-3
lines changed

4 files changed

+118
-3
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
2+
from nipype.testing import assert_equal
3+
from nipype.interfaces.camino.odf import MESD
4+
5+
def test_MESD_inputs():
6+
input_map = dict(args=dict(argstr='%s',
7+
),
8+
bgmask=dict(argstr='-bgmask %s',
9+
),
10+
environ=dict(nohash=True,
11+
usedefault=True,
12+
),
13+
fastmesd=dict(argstr='-fastmesd',
14+
requires=['mepointset'],
15+
),
16+
ignore_exception=dict(nohash=True,
17+
usedefault=True,
18+
),
19+
in_file=dict(argstr='-inputfile %s',
20+
mandatory=True,
21+
position=1,
22+
),
23+
inputdatatype=dict(argstr='-inputdatatype %s',
24+
),
25+
inverter=dict(argstr='-filter %s',
26+
mandatory=True,
27+
position=2,
28+
),
29+
inverter_param=dict(argstr='%f',
30+
mandatory=True,
31+
position=3,
32+
units='NA',
33+
),
34+
mepointset=dict(argstr='-mepointset %d',
35+
units='NA',
36+
),
37+
out_file=dict(argstr='> %s',
38+
genfile=True,
39+
position=-1,
40+
),
41+
scheme_file=dict(argstr='-schemefile %s',
42+
mandatory=True,
43+
),
44+
terminal_output=dict(mandatory=True,
45+
nohash=True,
46+
),
47+
)
48+
inputs = MESD.input_spec()
49+
50+
for key, metadata in input_map.items():
51+
for metakey, value in metadata.items():
52+
yield assert_equal, getattr(inputs.traits()[key], metakey), value
53+
54+
def test_MESD_outputs():
55+
output_map = dict(mesd_data=dict(),
56+
)
57+
outputs = MESD.output_spec()
58+
59+
for key, metadata in output_map.items():
60+
for metakey, value in metadata.items():
61+
yield assert_equal, getattr(outputs.traits()[key], metakey), value
62+
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
2+
from nipype.testing import assert_equal
3+
from nipype.interfaces.camino.convert import Shredder
4+
5+
def test_Shredder_inputs():
6+
input_map = dict(args=dict(argstr='%s',
7+
),
8+
chunksize=dict(argstr='%d',
9+
position=2,
10+
units='NA',
11+
),
12+
environ=dict(nohash=True,
13+
usedefault=True,
14+
),
15+
ignore_exception=dict(nohash=True,
16+
usedefault=True,
17+
),
18+
in_file=dict(argstr='< %s',
19+
mandatory=True,
20+
position=-2,
21+
),
22+
offset=dict(argstr='%d',
23+
position=1,
24+
units='NA',
25+
),
26+
out_file=dict(argstr='> %s',
27+
genfile=True,
28+
position=-1,
29+
),
30+
space=dict(argstr='%d',
31+
position=3,
32+
units='NA',
33+
),
34+
terminal_output=dict(mandatory=True,
35+
nohash=True,
36+
),
37+
)
38+
inputs = Shredder.input_spec()
39+
40+
for key, metadata in input_map.items():
41+
for metakey, value in metadata.items():
42+
yield assert_equal, getattr(inputs.traits()[key], metakey), value
43+
44+
def test_Shredder_outputs():
45+
output_map = dict(shredded=dict(),
46+
)
47+
outputs = Shredder.output_spec()
48+
49+
for key, metadata in output_map.items():
50+
for metakey, value in metadata.items():
51+
yield assert_equal, getattr(outputs.traits()[key], metakey), value
52+

nipype/interfaces/fsl/maths.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,12 +242,11 @@ class SpatialFilter(MathsCommand):
242242

243243
class UnaryMathsInput(MathsInput):
244244

245-
operation = traits.Enum("exp", "log", "sin", "cos", "tan", "asin", "acos", "atan", "sqr", "sqrt",
246-
"recip", "abs", "bin", "binv", "fillh", "fillh26", "index", "edge", "nan",
247-
"nanm", "rand", "randn", "range",
245+
operation = traits.Enum("exp", "log", "sin", "cos", "sqr", "sqrt", "recip", "abs", "bin", "index",
248246
argstr="-%s", position=4, mandatory=True,
249247
desc="operation to perform")
250248

249+
251250
class UnaryMaths(MathsCommand):
252251
"""Use fslmaths to perorm a variety of mathematical operations on an image.
253252

nipype/testing/data/config.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[BOOL]
2+
ManualNIfTIConv=0

0 commit comments

Comments
 (0)