Skip to content

Commit 677807c

Browse files
committed
Run check. Edit possum to pass test.
FSLOUTTYPE defaults to “nit”, not “nii.gz”.
1 parent 62c11c6 commit 677807c

File tree

6 files changed

+17
-135
lines changed

6 files changed

+17
-135
lines changed

nipype/algorithms/tests/test_auto_CompCor.py

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

nipype/algorithms/tests/test_auto_ErrorMap.py

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

nipype/algorithms/tests/test_auto_Overlap.py

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

nipype/interfaces/fsl/possum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class B0Calc(FSLCommand):
8080
>>> b0calc.inputs.in_file = 'tissue+air_map.nii'
8181
>>> b0calc.inputs.z_b0 = 3.0
8282
>>> b0calc.cmdline # doctest: +IGNORE_UNICODE
83-
'b0calc -i tissue+air_map.nii -o tissue+air_map_b0field.nii.gz --b0=3.00'
83+
'b0calc -i tissue+air_map.nii -o tissue+air_map_b0field.nii --b0=3.00'
8484
8585
"""
8686

nipype/algorithms/tests/test_auto_TSNR.py renamed to nipype/interfaces/tests/test_auto_SignalExtraction.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
11
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
22
from ...testing import assert_equal
3-
from ..confounds import TSNR
3+
from ..nilearn import SignalExtraction
44

55

6-
def test_TSNR_inputs():
7-
input_map = dict(detrended_file=dict(hash_files=False,
6+
def test_SignalExtraction_inputs():
7+
input_map = dict(class_labels=dict(mandatory=True,
8+
),
9+
detrend=dict(mandatory=False,
810
usedefault=True,
911
),
1012
ignore_exception=dict(nohash=True,
1113
usedefault=True,
1214
),
1315
in_file=dict(mandatory=True,
1416
),
15-
mean_file=dict(hash_files=False,
17+
incl_shared_variance=dict(mandatory=False,
1618
usedefault=True,
1719
),
18-
regress_poly=dict(),
19-
stddev_file=dict(hash_files=False,
20+
include_global=dict(mandatory=False,
2021
usedefault=True,
2122
),
22-
tsnr_file=dict(hash_files=False,
23+
label_files=dict(mandatory=True,
24+
),
25+
out_file=dict(mandatory=False,
2326
usedefault=True,
2427
),
2528
)
26-
inputs = TSNR.input_spec()
29+
inputs = SignalExtraction.input_spec()
2730

2831
for key, metadata in list(input_map.items()):
2932
for metakey, value in list(metadata.items()):
3033
yield assert_equal, getattr(inputs.traits()[key], metakey), value
3134

3235

33-
def test_TSNR_outputs():
34-
output_map = dict(detrended_file=dict(),
35-
mean_file=dict(),
36-
stddev_file=dict(),
37-
tsnr_file=dict(),
36+
def test_SignalExtraction_outputs():
37+
output_map = dict(out_file=dict(),
3838
)
39-
outputs = TSNR.output_spec()
39+
outputs = SignalExtraction.output_spec()
4040

4141
for key, metadata in list(output_map.items()):
4242
for metakey, value in list(metadata.items()):
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
0.000000 10.000000 1.000000
2+
10.000000 10.000000 1.000000

0 commit comments

Comments
 (0)