Skip to content

Commit e4efa86

Browse files
committed
update doctest
1 parent 619d8d2 commit e4efa86

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

pydra/tasks/fsl/model/cluster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ class Cluster(ShellCommandTask):
228228
>>> task.inputs.threshold = 2.3
229229
>>> task.inputs.use_mm = True
230230
>>> task.cmdline
231-
'cluster --in=zstat1.nii.gz --thresh=2.3000000000 --mm'
231+
'cluster --in=zstat1.nii.gz --thresh=2.3000000000 --mm' # doctest: +ELLIPSIS
232232
"""
233233

234234
input_spec = Cluster_input_spec

pydra/tasks/fsl/model/glm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ class GLM(ShellCommandTask):
186186
>>> task.inputs.in_file = "test.nii.gz"
187187
>>> task.inputs.design = "confounds_regressors.tsv"
188188
>>> task.cmdline
189-
'fsl_glm -i test.nii.gz -d confounds_regressors.tsv'
189+
'fsl_glm -i test.nii.gz -d confounds_regressors.tsv' # doctest: +ELLIPSIS
190190
"""
191191

192192
input_spec = GLM_input_spec

pydra/tasks/fsl/utils/filterregressor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class FilterRegressor(ShellCommandTask):
8383
>>> task.inputs.filter_columns = "1,2,3"
8484
>>> task.inputs.out_file = "test_filtered.nii.gz"
8585
>>> task.cmdline
86-
'fsl_regfilt -i test.nii.gz -o test_filtered.nii.gz -d design -f '1,2,3''
86+
'fsl_regfilt -i test.nii.gz -o test_filtered.nii.gz -d design -f 1,2,3'
8787
"""
8888

8989
input_spec = FilterRegressor_input_spec

specs/fsl_model_param.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Cluster:
2424
in_file: zstat1.nii.gz
2525
threshold: 2.3
2626
use_mm: True
27-
cmdline: cluster --in=zstat1.nii.gz --thresh=2.3000000000 --mm
27+
cmdline: cluster --in=zstat1.nii.gz --thresh=2.3000000000 --mm # doctest: +ELLIPSIS
2828
tests_inputs:
2929
- in_file: zstat1.nii.gz
3030
threshold: 2.3
@@ -224,7 +224,7 @@ GLM:
224224
doctest:
225225
in_file: test.nii.gz
226226
design: confounds_regressors.tsv
227-
cmdline: fsl_glm -i test.nii.gz -d confounds_regressors.tsv
227+
cmdline: fsl_glm -i test.nii.gz -d confounds_regressors.tsv # doctest: +ELLIPSIS
228228
tests_inputs:
229229
- in_file: test.nii.gz
230230
design: confounds_regressors.tsv

specs/fsl_utils_param.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ ConvertWarp: # needs more test data
4646
reference: test.nii.gz
4747
relwarp: True
4848
out_file: test_concatwarp.nii.gz
49-
cmdline: convertwarp --ref=test.nii.gz --warp1=warpfield.nii --rel --out=test_concatwarp.nii.gz
49+
cmdline: convertwarp --ref=test.nii.gz --warp1=warpfield.nii --rel --out=test_concatwarp.nii.gz
5050
tests_inputs:
5151
-
5252
tests_outputs:
@@ -118,7 +118,7 @@ FilterRegressor:
118118
design_file: design
119119
filter_columns: 1,2,3
120120
out_file: test_filtered.nii.gz
121-
cmdline: fsl_regfilt -i test.nii.gz -o test_filtered.nii.gz -d design -f '1,2,3'
121+
cmdline: fsl_regfilt -i test.nii.gz -o test_filtered.nii.gz -d design -f 1,2,3
122122
tests_inputs:
123123
-
124124
tests_outputs:

0 commit comments

Comments
 (0)