@@ -149,8 +149,8 @@ class UnaryMaths(MathsCommand):
149
149
>>> node.inputs.in_file = 'im1.nii'
150
150
>>> node.inputs.operation = 'sqrt'
151
151
>>> node.inputs.output_datatype = 'float'
152
- >>> node.cmdline # doctest: +ALLOW_UNICODE
153
- 'seg_maths im1.nii -sqrt -odt float im1_sqrt.nii'
152
+ >>> node.cmdline # doctest: +ELLIPSIS + ALLOW_UNICODE
153
+ 'seg_maths im1.nii -sqrt -odt float .../ im1_sqrt.nii'
154
154
155
155
"""
156
156
input_spec = UnaryMathsInput
@@ -237,8 +237,8 @@ class BinaryMaths(MathsCommand):
237
237
>>> node.inputs.operation = 'sub'
238
238
>>> node.inputs.operand_file = 'im2.nii'
239
239
>>> node.inputs.output_datatype = 'float'
240
- >>> node.cmdline # doctest: +ALLOW_UNICODE
241
- 'seg_maths im1.nii -sub im2.nii -odt float im1_sub.nii'
240
+ >>> node.cmdline # doctest: +ELLIPSIS + ALLOW_UNICODE
241
+ 'seg_maths im1.nii -sub im2.nii -odt float .../ im1_sub.nii'
242
242
243
243
"""
244
244
input_spec = BinaryMathsInput
@@ -305,8 +305,8 @@ class BinaryMathsInteger(MathsCommand):
305
305
>>> node.inputs.operation = 'dil'
306
306
>>> node.inputs.operand_value = 2
307
307
>>> node.inputs.output_datatype = 'float'
308
- >>> node.cmdline # doctest: +ALLOW_UNICODE
309
- 'seg_maths im1.nii -dil 2 -odt float im1_dil.nii'
308
+ >>> node.cmdline # doctest: +ELLIPSIS + ALLOW_UNICODE
309
+ 'seg_maths im1.nii -dil 2 -odt float .../ im1_dil.nii'
310
310
311
311
"""
312
312
input_spec = BinaryMathsInputInteger
@@ -376,8 +376,8 @@ class TupleMaths(MathsCommand):
376
376
>>> node.inputs.operand_file1 = 'im2.nii'
377
377
>>> node.inputs.operand_value2 = 2.0
378
378
>>> node.inputs.output_datatype = 'float'
379
- >>> node.cmdline # doctest: +ALLOW_UNICODE
380
- 'seg_maths im1.nii -lncc im2.nii 2.00000000 -odt float im1_lncc.nii'
379
+ >>> node.cmdline # doctest: +ELLIPSIS + ALLOW_UNICODE
380
+ 'seg_maths im1.nii -lncc im2.nii 2.00000000 -odt float .../ im1_lncc.nii'
381
381
382
382
"""
383
383
input_spec = TupleMathsInput
@@ -417,9 +417,9 @@ class Merge(MathsCommand):
417
417
>>> node.inputs.merge_files = files
418
418
>>> node.inputs.dimension = 2
419
419
>>> node.inputs.output_datatype = 'float'
420
- >>> node.cmdline # doctest: +ALLOW_UNICODE
420
+ >>> node.cmdline # doctest: +ELLIPSIS + ALLOW_UNICODE
421
421
'seg_maths im1.nii -merge 2 2 im2.nii im3.nii -odt float \
422
- im1_merged.nii'
422
+ .../ im1_merged.nii'
423
423
424
424
"""
425
425
input_spec = MergeInput
0 commit comments