diff --git a/fsl/tests/test_wrappers/test_wrappers.py b/fsl/tests/test_wrappers/test_wrappers.py index e48e9d6d9515586f31a0854db01109172e19f56f..214584ab779120fe9fefb2ec4ff9301e6fc26055 100755 --- a/fsl/tests/test_wrappers/test_wrappers.py +++ b/fsl/tests/test_wrappers/test_wrappers.py @@ -541,6 +541,15 @@ def test_dtifit(): assert res.stdout[0] == exp +def test_vecreg(): + with testenv('vecreg') as vecreg: + res = fw.vecreg('in', 'out', 'ref', warpfield='warp', + premat='premat.mat', interp='sinc', m='mask') + exp = f'{vecreg} -i in -o out -r ref --warpfield=warp ' \ + '--premat=premat.mat --interp=sinc -m mask' + assert res.stdout[0] == exp + + def test_xfibres(): with testenv('xfibres') as xfibres: res = fw.xfibres('data', 'mask', 'bvecs', 'bvals',