@@ -137,7 +137,7 @@ class UnaryMaths(MathsCommand):
137
137
>>> node.inputs.operation = 'sqrt'
138
138
>>> node.inputs.output_datatype = 'float'
139
139
>>> node.cmdline # doctest: +ELLIPSIS +ALLOW_UNICODE
140
- 'seg_maths im1.nii -sqrt -odt float .../im1_sqrt.nii.gz '
140
+ 'seg_maths im1.nii -sqrt -odt float .../im1_sqrt.nii'
141
141
142
142
"""
143
143
input_spec = UnaryMathsInput
@@ -225,7 +225,7 @@ class BinaryMaths(MathsCommand):
225
225
>>> node.inputs.operand_file = 'im2.nii'
226
226
>>> node.inputs.output_datatype = 'float'
227
227
>>> node.cmdline # doctest: +ELLIPSIS +ALLOW_UNICODE
228
- 'seg_maths im1.nii -odt float - sub im2.nii .../im1_sub.nii.gz '
228
+ 'seg_maths im1.nii -sub im2.nii -odt float .../im1_sub.nii'
229
229
230
230
"""
231
231
input_spec = BinaryMathsInput
@@ -300,7 +300,7 @@ class BinaryMathsInteger(MathsCommand):
300
300
>>> node.inputs.operand_value = 2
301
301
>>> node.inputs.output_datatype = 'float'
302
302
>>> node.cmdline # doctest: +ELLIPSIS +ALLOW_UNICODE
303
- 'seg_maths im1.nii -dil 2 .../im1_dil.nii -odt float '
303
+ 'seg_maths im1.nii -dil 2 -odt float .../im1_dil.nii'
304
304
305
305
"""
306
306
input_spec = BinaryMathsInputInteger
@@ -371,7 +371,7 @@ class TupleMaths(MathsCommand):
371
371
>>> node.inputs.operand_value2 = 2.0
372
372
>>> node.inputs.output_datatype = 'float'
373
373
>>> node.cmdline # doctest: +ELLIPSIS +ALLOW_UNICODE
374
- 'seg_maths im1.nii -lncc im2.nii 2.00000000 .../im1_lncc.nii -odt float '
374
+ 'seg_maths im1.nii -lncc im2.nii 2.00000000 -odt float .../im1_lncc.nii'
375
375
376
376
"""
377
377
input_spec = TupleMathsInput
0 commit comments