Skip to content

Commit 3ae1804

Browse files
tst: add test for fast interface
1 parent b24f945 commit 3ae1804

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/smriprep/interfaces/fsl.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ class FAST(_FAST):
1515
"""
1616
A replacement for nipype.interfaces.fsl.preprocess.FAST that allows
1717
`bias_iters=0` to disable bias field correction entirely
18+
19+
>>> from smriprep.interfaces.fsl import FixBiasItersFAST as FAST
20+
>>> fast = fsl.FAST()
21+
>>> fast.inputs.in_files = 'sub-01_desc-warped_T1w.nii.gz'
22+
>>> fast.cmdline
23+
'fast -o fast_ -S 1 -I 0 sub-01_desc-warped_T1w.nii.gz'
1824
"""
1925

2026
input_spec = _FixTraitFASTInputSpec

0 commit comments

Comments
 (0)