Commit d4adb3b4 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

Merge branch 'doc/changelog' into 'master'

Doc/changelog

See merge request fsl/fslpy!349
parents 19c271c5 21db3b1a
Pipeline #14844 canceled with stages
in 2 minutes and 12 seconds
......@@ -2,6 +2,26 @@ This document contains the ``fslpy`` release history in reverse chronological
order.
3.10.0 (Wednesday 29th June 2022)
---------------------------------
Added
^^^^^
* New :func:`fsl.wrappers.eddy.eddy` function, to replace :func:`.eddy_cuda`.
Note that this function will not work with FSL versions 6.0.5.2 or older
(!348).
Deprecated
^^^^^^^^^^
* The :func:`fsl.wrappers.eddy.eddy_cuda` function has been deprecated in
favour of the ``eddy`` function (!348).
3.9.6 (Wednesday 15th June 2022)
--------------------------------
......
......@@ -47,7 +47,7 @@ import re
import string
__version__ = '3.10.0.dev0'
__version__ = '3.11.0.dev0'
"""Current version number, as a string. """
......
......@@ -100,7 +100,8 @@ decorators.
from fsl.wrappers.wrapperutils import (LOAD,)
from fsl.wrappers.bet import (bet,
robustfov)
from fsl.wrappers.eddy import (eddy_cuda,
from fsl.wrappers.eddy import (eddy,
eddy_cuda,
topup,
applytopup)
from fsl.wrappers.fast import (fast,)
......
......@@ -61,7 +61,10 @@ def flirt(src, ref, **kwargs):
def applyxfm(src, ref, mat, out, interp='spline', **kwargs):
"""Convenience function which runs ``flirt -applyxfm ...``."""
"""Convenience function which runs ``flirt -applyxfm ...``.
Note that the default value for ``-interp`` is ``spline``,
which differs from the command-line default.
"""
return flirt(src,
ref,
out=out,
......
......@@ -66,11 +66,11 @@ def test_robustfov():
assert checkResult(result.stdout[0], *expected)
def test_eddy_cuda():
with asrt.disabled(), run.dryrun(), mockFSLDIR(bin=('eddy_cuda',)) as fsldir:
eddy = op.join(fsldir, 'bin', 'eddy_cuda')
result = fw.eddy_cuda('imain', 'mask', 'index', 'acqp',
'bvecs', 'bvals', 'out', dont_mask_output=True)
def test_eddy():
with asrt.disabled(), run.dryrun(), mockFSLDIR(bin=('eddy',)) as fsldir:
eddy = op.join(fsldir, 'bin', 'eddy')
result = fw.eddy('imain', 'mask', 'index', 'acqp',
'bvecs', 'bvals', 'out', dont_mask_output=True)
expected = (eddy, ('--imain=imain',
'--mask=mask',
'--index=index',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment