Skip to content
Snippets Groups Projects
Commit e50b282a authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

Merge branch 'test/fsl_anat' into 'master'

TEST: Unit test fsl_anat wrapper

See merge request fsl/fslpy!106
parents dfdf954d e12285c4
No related branches found
No related tags found
No related merge requests found
Pipeline #3504 canceled
......@@ -288,3 +288,18 @@ def test_fast():
expected = [cmd, '-v', '--out=myseg', '--class=3', 'in1', 'in2', 'in3']
assert result.output[0] == ' '.join(expected)
def test_fsl_anat():
with asrt.disabled(), \
run.dryrun(), \
mockFSLDIR(bin=('fsl_anat',)) as fsldir:
cmd = op.join(fsldir, 'bin', 'fsl_anat')
result = fw.fsl_anat('t1', out='fsl_anat', bias_smoothing=25)
expected = [cmd, '-i', 't1', '-o', 'fsl_anat', '-t', 'T1',
'-s', '25']
assert result.output[0] == ' '.join(expected)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment