Skip to content

Commit b9610cb

Browse files
committed
Fixing the docstring
1 parent 135da56 commit b9610cb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

nipype/interfaces/niftyseg/maths.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class UnaryMaths(MathsCommand):
137137
>>> node.inputs.operation = 'sqrt'
138138
>>> node.inputs.output_datatype = 'float'
139139
>>> 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'
141141
142142
"""
143143
input_spec = UnaryMathsInput
@@ -225,7 +225,7 @@ class BinaryMaths(MathsCommand):
225225
>>> node.inputs.operand_file = 'im2.nii'
226226
>>> node.inputs.output_datatype = 'float'
227227
>>> 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'
229229
230230
"""
231231
input_spec = BinaryMathsInput
@@ -300,7 +300,7 @@ class BinaryMathsInteger(MathsCommand):
300300
>>> node.inputs.operand_value = 2
301301
>>> node.inputs.output_datatype = 'float'
302302
>>> 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'
304304
305305
"""
306306
input_spec = BinaryMathsInputInteger
@@ -371,7 +371,7 @@ class TupleMaths(MathsCommand):
371371
>>> node.inputs.operand_value2 = 2.0
372372
>>> node.inputs.output_datatype = 'float'
373373
>>> 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'
375375
376376
"""
377377
input_spec = TupleMathsInput

nipype/interfaces/niftyseg/stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ class BinaryStats(StatsCommand):
197197
>>> node.inputs.operation = 'sa'
198198
>>> node.inputs.operand_value = 2.0
199199
>>> node.cmdline # doctest: +ALLOW_UNICODE
200-
'seg_stats im1.nii -sa 2'
200+
'seg_stats im1.nii -sa 2.00000000'
201201
202202
"""
203203
input_spec = BinaryStatsInput

0 commit comments

Comments
 (0)