Skip to content

Commit 26a5349

Browse files
committed
TEST: make specs
1 parent acea195 commit 26a5349

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

nipype/interfaces/freesurfer/tests/test_auto_GTMPVC.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def test_GTMPVC_inputs():
6767
argstr="--merge-hypos",
6868
),
6969
mg=dict(
70-
argstr="--mg %f %s...",
70+
argstr="--mg %g %s",
7171
),
7272
mg_ref_cerebral_wm=dict(
7373
argstr="--mg-ref-cerebral-wm",
@@ -93,9 +93,6 @@ def test_GTMPVC_inputs():
9393
num_threads=dict(
9494
argstr="--threads %i",
9595
),
96-
optimization_schema=dict(
97-
argstr="--opt %s",
98-
),
9996
opt_brain=dict(
10097
argstr="--opt-brain",
10198
),
@@ -105,6 +102,9 @@ def test_GTMPVC_inputs():
105102
opt_tol=dict(
106103
argstr="--opt-tol %i %f %f",
107104
),
105+
optimization_schema=dict(
106+
argstr="--opt %s",
107+
),
108108
psf=dict(
109109
argstr="--psf %f",
110110
),
@@ -139,10 +139,12 @@ def test_GTMPVC_inputs():
139139
),
140140
reg_identity=dict(
141141
argstr="--reg-identity",
142+
mandatory=True,
142143
xor=["reg_file", "regheader", "reg_identity"],
143144
),
144145
regheader=dict(
145146
argstr="--regheader",
147+
mandatory=True,
146148
xor=["reg_file", "regheader", "reg_identity"],
147149
),
148150
replace=dict(
@@ -179,13 +181,13 @@ def test_GTMPVC_inputs():
179181
extensions=None,
180182
mandatory=True,
181183
),
182-
tissue_fraction_resolution=dict(
183-
argstr="--segpvfres %f",
184-
),
185184
steady_state_params=dict(
186185
argstr="--ss %f %f %f",
187186
),
188187
subjects_dir=dict(),
188+
tissue_fraction_resolution=dict(
189+
argstr="--segpvfres %f",
190+
),
189191
tt_reduce=dict(
190192
argstr="--tt-reduce",
191193
),

nipype/interfaces/freesurfer/tests/test_auto_GTMSeg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def test_GTMSeg_inputs():
77
args=dict(
88
argstr="%s",
99
),
10-
ctab=dict(
10+
colortable=dict(
1111
argstr="--ctab %s",
1212
extensions=None,
1313
),

0 commit comments

Comments
 (0)