Skip to content

Commit 9c3855a

Browse files
committed
fix typo
1 parent e8cad49 commit 9c3855a

File tree

5 files changed

+11
-14
lines changed

5 files changed

+11
-14
lines changed

pydra/tasks/fsl/model/filmgls.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -383,12 +383,12 @@ class FILMGLS(ShellCommandTask):
383383
Example
384384
-------
385385
>>> task = FILMGLS()
386-
>>> task.inputs.in_file = "test.nii"
387-
>>> task.inputs.design_file = "design.mat"
386+
>>> task.inputs.in_file = "test_film_gls.nii.gz"
387+
>>> task.inputs.design_file = "design_film_gls.mat"
388388
>>> task.inputs.threshold = 10
389389
>>> task.inputs.results_dir = "stats"
390390
>>> task.cmdline
391-
'film_gls --rn=stats --in=test.nii --pd=design.mat --thr=10'
391+
'film_gls --rn=stats --in=test_film_gls.nii.gz --pd=design_film_gls.mat --thr=10'
392392
"""
393393

394394
input_spec = FILMGLS_input_spec

pydra/tasks/fsl/preprocess/bet.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,11 +294,11 @@ class BET(ShellCommandTask):
294294
Example
295295
-------
296296
>>> task = BET()
297-
>>> task.inputs.in_file = "test.nii.gz"
298-
>>> task.inputs.out_file = "test_brain.nii.gz"
297+
>>> task.inputs.in_file = "test1.nii.gz"
298+
>>> task.inputs.out_file = "test1_brain.nii.gz"
299299
>>> task.inputs.frac = 0.7
300300
>>> task.cmdline
301-
'bet test.nii.gz test_brain.nii.gz -f 0.70'
301+
'bet test1.nii.gz test1_brain.nii.gz -f 0.70'
302302
"""
303303

304304
input_spec = BET_input_spec

pydra/tasks/fsl/tests/data/test.nii

-45.6 MB
Binary file not shown.

pydra/tasks/fsl/tests/data/test1.nii.gz

Lines changed: 0 additions & 3 deletions
This file was deleted.

specs/fsl_model_param.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,11 @@ FILMGLS:
157157
output_templates:
158158
inputs_drop:
159159
doctest:
160-
in_file: test.nii
161-
design_file: design.mat
160+
in_file: test_film_gls.nii.gz
161+
design_file: design_film_gls.mat
162162
threshold: 10
163163
results_dir: stats
164-
cmdline: film_gls --rn=stats --in=test.nii --pd=design.mat --thr=10
164+
cmdline: film_gls --rn=stats --in=test_film_gls.nii.gz --pd=design_film_gls.mat --thr=10
165165
tests_inputs:
166166
- in_file: test_film_gls.nii.gz
167167
design_file: design_film_gls.mat
@@ -276,7 +276,7 @@ MELODIC:
276276
inputs_drop:
277277
doctest:
278278
approach: tica
279-
in_files: [test.nii,test2.nii,test3.nii]
279+
in_files: [test2.nii,test3.nii]
280280
no_bet: True
281281
bg_threshold: 10
282282
tr_sec: 1.5
@@ -286,7 +286,7 @@ MELODIC:
286286
s_des: subjectDesign.mat
287287
s_con: subjectDesign.con
288288
out_dir: groupICA.out
289-
cmdline: melodic -i test.nii,test2.nii,test3.nii -o groupICA.out --nobet --bgthreshold=10 -a tica --tr=1.5 --Tdes=timeDesign.mat --Tcon=timeDesign.con --Sdes=subjectDesign.mat --Scon=subjectDesign.con --Ostats
289+
cmdline: melodic -i test2.nii,test3.nii -o groupICA.out --nobet --bgthreshold=10 -a tica --tr=1.5 --Tdes=timeDesign.mat --Tcon=timeDesign.con --Sdes=subjectDesign.mat --Scon=subjectDesign.con --Ostats
290290
tests_inputs:
291291
-
292292
tests_outputs:

0 commit comments

Comments
 (0)