Skip to content

Commit 132b8f1

Browse files
committed
Merge branch 'master' into fix/CircleTests
2 parents b103d2e + 10b9675 commit 132b8f1

26 files changed

+167
-190
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ Support and Communication
7878
-------------------------
7979

8080
If you have a problem or would like to ask a question about how to do something in Nipype please open an issue to
81-
`NeuroStars.org <http://neurostars.org>`_ with a *nipype* tag. `NeuroStars.org <http://neurostars.org>`_ is a
82-
platform similar to StackOverflow but dedicated to neuroinformatics.
81+
`NeuroStars.org <http://neurostars.org>`_ with a *nipype* tag. `NeuroStars.org <http://neurostars.org>`_ is a
82+
platform similar to StackOverflow but dedicated to neuroinformatics.
8383

8484
To participate in the Nipype development related discussions please use the following mailing list::
8585

nipype/algorithms/tests/test_auto_CompCor.py

Lines changed: 0 additions & 37 deletions
This file was deleted.

nipype/algorithms/tests/test_auto_ComputeDVARS.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ def test_ComputeDVARS_inputs():
1717
),
1818
in_mask=dict(mandatory=True,
1919
),
20+
intensity_normalization=dict(usedefault=True,
21+
),
2022
remove_zerovariance=dict(usedefault=True,
2123
),
2224
save_all=dict(usedefault=True,

nipype/algorithms/tests/test_auto_FramewiseDisplacement.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ def test_FramewiseDisplacement_inputs():
1919
),
2020
out_file=dict(usedefault=True,
2121
),
22+
parameter_source=dict(mandatory=True,
23+
),
2224
radius=dict(usedefault=True,
2325
),
2426
save_plot=dict(usedefault=True,

nipype/algorithms/tests/test_auto_ErrorMap.py renamed to nipype/algorithms/tests/test_auto_NonSteadyStateDetector.py

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,26 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from __future__ import unicode_literals
3-
from ..metrics import ErrorMap
3+
from ..confounds import NonSteadyStateDetector
44

55

6-
def test_ErrorMap_inputs():
6+
def test_NonSteadyStateDetector_inputs():
77
input_map = dict(ignore_exception=dict(nohash=True,
88
usedefault=True,
99
),
10-
in_ref=dict(mandatory=True,
10+
in_file=dict(mandatory=True,
1111
),
12-
in_tst=dict(mandatory=True,
13-
),
14-
mask=dict(),
15-
metric=dict(mandatory=True,
16-
usedefault=True,
17-
),
18-
out_map=dict(),
1912
)
20-
inputs = ErrorMap.input_spec()
13+
inputs = NonSteadyStateDetector.input_spec()
2114

2215
for key, metadata in list(input_map.items()):
2316
for metakey, value in list(metadata.items()):
2417
assert getattr(inputs.traits()[key], metakey) == value
2518

2619

27-
def test_ErrorMap_outputs():
28-
output_map = dict(distance=dict(),
29-
out_map=dict(),
20+
def test_NonSteadyStateDetector_outputs():
21+
output_map = dict(n_volumes_to_discard=dict(),
3022
)
31-
outputs = ErrorMap.output_spec()
23+
outputs = NonSteadyStateDetector.output_spec()
3224

3325
for key, metadata in list(output_map.items()):
3426
for metakey, value in list(metadata.items()):

nipype/algorithms/tests/test_auto_Overlap.py

Lines changed: 0 additions & 47 deletions
This file was deleted.

nipype/algorithms/tests/test_auto_TSNR.py

Lines changed: 0 additions & 43 deletions
This file was deleted.

nipype/algorithms/tests/test_confounds.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def test_dvars(tmpdir):
6767
assert (np.abs(dv1[:, 2] - ground_truth[:, 2]).sum() / len(dv1)) < 0.05
6868

6969
def test_outliers(tmpdir):
70+
np.random.seed(0)
7071
in_data = np.random.randn(100)
7172
in_data[0] += 10
7273

nipype/interfaces/ants/tests/test_auto_CreateJacobianDeterminantImage.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ def test_CreateJacobianDeterminantImage_inputs():
1111
position=1,
1212
),
1313
doLogJacobian=dict(argstr='%d',
14-
mandatory=False,
1514
position=3,
1615
),
1716
environ=dict(nohash=True,
@@ -35,7 +34,6 @@ def test_CreateJacobianDeterminantImage_inputs():
3534
terminal_output=dict(nohash=True,
3635
),
3736
useGeometric=dict(argstr='%d',
38-
mandatory=False,
3937
position=4,
4038
),
4139
)

nipype/interfaces/ants/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ class CreateJacobianDeterminantImageInputSpec(ANTSCommandInputSpec):
145145
outputImage = File(argstr='%s', mandatory=True,
146146
position=2,
147147
desc='output filename')
148-
doLogJacobian = traits.Enum(0, 1, argstr='%d', mandatory=False, position=3,
148+
doLogJacobian = traits.Enum(0, 1, argstr='%d', position=3,
149149
desc='return the log jacobian')
150-
useGeometric = traits.Enum(0, 1, argstr='%d', mandatory=False, position=4,
150+
useGeometric = traits.Enum(0, 1, argstr='%d', position=4,
151151
desc='return the geometric jacobian')
152152

153153
class CreateJacobianDeterminantImageOutputSpec(TraitedSpec):

0 commit comments

Comments
 (0)