Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 75f0ba0

Browse files
committed
TEST: Update tests
1 parent ced00b1 commit 75f0ba0

File tree

6 files changed

+55
-10
lines changed

6 files changed

+55
-10
lines changed

‎nipype/interfaces/freesurfer/tests/test_auto_GLMFit.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ def test_GLMFit_inputs():
1313
args=dict(
1414
argstr="%s",
1515
),
16+
bp_clip_max=dict(
17+
argstr="--bp-clip-max %f",
18+
),
19+
bp_clip_neg=dict(
20+
argstr="--bp-clip-neg",
21+
),
1622
calc_AR1=dict(
1723
argstr="--tar1",
1824
),

‎nipype/interfaces/freesurfer/tests/test_auto_GTMPVC.py‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,9 @@ def test_GTMPVC_inputs():
207207

208208
def test_GTMPVC_outputs():
209209
output_map = dict(
210+
eres=dict(
211+
extensions=None,
212+
),
210213
gtm_file=dict(
211214
extensions=None,
212215
),
@@ -256,6 +259,18 @@ def test_GTMPVC_outputs():
256259
reg_rbvpet2anat=dict(
257260
extensions=None,
258261
),
262+
seg=dict(
263+
extensions=None,
264+
),
265+
seg_ctab=dict(
266+
extensions=None,
267+
),
268+
tissue_fraction=dict(
269+
extensions=None,
270+
),
271+
tissue_fraction_psf=dict(
272+
extensions=None,
273+
),
259274
yhat=dict(
260275
extensions=None,
261276
),

‎nipype/interfaces/freesurfer/tests/test_auto_LoganRef.py‎ renamed to ‎nipype/interfaces/freesurfer/tests/test_auto_Logan.py‎

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
2-
from ..petsurfer import LoganRef
2+
from ..petsurfer import Logan
33

44

5-
def test_LoganRef_inputs():
5+
def test_Logan_inputs():
66
input_map = dict(
77
allow_ill_cond=dict(
88
argstr="--illcond",
@@ -13,6 +13,12 @@ def test_LoganRef_inputs():
1313
args=dict(
1414
argstr="%s",
1515
),
16+
bp_clip_max=dict(
17+
argstr="--bp-clip-max %f",
18+
),
19+
bp_clip_neg=dict(
20+
argstr="--bp-clip-neg",
21+
),
1622
calc_AR1=dict(
1723
argstr="--tar1",
1824
),
@@ -214,14 +220,14 @@ def test_LoganRef_inputs():
214220
xor=("weight_file", "weight_inv", "weight_sqrt"),
215221
),
216222
)
217-
inputs = LoganRef.input_spec()
223+
inputs = Logan.input_spec()
218224

219225
for key, metadata in list(input_map.items()):
220226
for metakey, value in list(metadata.items()):
221227
assert getattr(inputs.traits()[key], metakey) == value
222228

223229

224-
def test_LoganRef_outputs():
230+
def test_Logan_outputs():
225231
output_map = dict(
226232
beta_file=dict(
227233
extensions=None,
@@ -271,7 +277,7 @@ def test_LoganRef_outputs():
271277
extensions=None,
272278
),
273279
)
274-
outputs = LoganRef.output_spec()
280+
outputs = Logan.output_spec()
275281

276282
for key, metadata in list(output_map.items()):
277283
for metakey, value in list(metadata.items()):

‎nipype/interfaces/freesurfer/tests/test_auto_MRTM.py‎ renamed to ‎nipype/interfaces/freesurfer/tests/test_auto_MRTM1.py‎

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
2-
from ..petsurfer import MRTM
2+
from ..petsurfer import MRTM1
33

44

5-
def test_MRTM_inputs():
5+
def test_MRTM1_inputs():
66
input_map = dict(
77
allow_ill_cond=dict(
88
argstr="--illcond",
@@ -13,6 +13,12 @@ def test_MRTM_inputs():
1313
args=dict(
1414
argstr="%s",
1515
),
16+
bp_clip_max=dict(
17+
argstr="--bp-clip-max %f",
18+
),
19+
bp_clip_neg=dict(
20+
argstr="--bp-clip-neg",
21+
),
1622
calc_AR1=dict(
1723
argstr="--tar1",
1824
),
@@ -214,14 +220,14 @@ def test_MRTM_inputs():
214220
xor=("weight_file", "weight_inv", "weight_sqrt"),
215221
),
216222
)
217-
inputs = MRTM.input_spec()
223+
inputs = MRTM1.input_spec()
218224

219225
for key, metadata in list(input_map.items()):
220226
for metakey, value in list(metadata.items()):
221227
assert getattr(inputs.traits()[key], metakey) == value
222228

223229

224-
def test_MRTM_outputs():
230+
def test_MRTM1_outputs():
225231
output_map = dict(
226232
beta_file=dict(
227233
extensions=None,
@@ -271,7 +277,7 @@ def test_MRTM_outputs():
271277
extensions=None,
272278
),
273279
)
274-
outputs = MRTM.output_spec()
280+
outputs = MRTM1.output_spec()
275281

276282
for key, metadata in list(output_map.items()):
277283
for metakey, value in list(metadata.items()):

‎nipype/interfaces/freesurfer/tests/test_auto_MRTM2.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ def test_MRTM2_inputs():
1313
args=dict(
1414
argstr="%s",
1515
),
16+
bp_clip_max=dict(
17+
argstr="--bp-clip-max %f",
18+
),
19+
bp_clip_neg=dict(
20+
argstr="--bp-clip-neg",
21+
),
1622
calc_AR1=dict(
1723
argstr="--tar1",
1824
),

‎nipype/interfaces/freesurfer/tests/test_auto_OneSampleTTest.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ def test_OneSampleTTest_inputs():
1313
args=dict(
1414
argstr="%s",
1515
),
16+
bp_clip_max=dict(
17+
argstr="--bp-clip-max %f",
18+
),
19+
bp_clip_neg=dict(
20+
argstr="--bp-clip-neg",
21+
),
1622
calc_AR1=dict(
1723
argstr="--tar1",
1824
),

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /