Skip to content

Commit 15899e1

Browse files
committed
Added and fixed tests
1 parent 700646b commit 15899e1

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

nipype/interfaces/freesurfer/tests/test_auto_MS_LDA.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ def test_MS_LDA_inputs():
1414
sep=' ',
1515
argstr='-lda %s',
1616
),
17-
output_synth=dict(new_name='vol_synth_file',
18-
mandatory=True,
19-
xor=['vol_synth_file', 'output_synth'],
20-
deprecated='0.8',
21-
argstr='-synth %s',
22-
),
2317
vol_synth_file=dict(mandatory=True,
2418
argstr='-synth %s',
2519
xor=['vol_synth_file', 'output_synth'],

nipype/interfaces/fsl/model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1799,9 +1799,9 @@ class GLM(FSLCommand):
17991799
Example
18001800
-------
18011801
>>> import nipype.interfaces.fsl as fsl
1802-
>>> glm = fsl.GLM(in_file='functional.nii', design='maps.nii')
1802+
>>> glm = fsl.GLM(in_file='functional.nii', design='maps.nii', output_type='NIFTI')
18031803
>>> glm.cmdline
1804-
'fsl_glm -i functional.nii -d maps.nii -o functional_glm.txt'
1804+
'fsl_glm -i functional.nii -d maps.nii -o functional_glm.nii'
18051805
18061806
"""
18071807
_cmd = 'fsl_glm'

nipype/interfaces/fsl/tests/test_auto_GLM.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def test_GLM_inputs():
5252
out_file=dict(name_source='in_file',
5353
keep_extension=True,
5454
position=3,
55-
name_template='%s_glm.txt',
55+
name_template='%s_glm',
5656
argstr='-o %s',
5757
),
5858
dat_norm=dict(argstr='--dat_norm',

0 commit comments

Comments
 (0)