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

ENH: new wrapper function for fsl_sub

parent 714a7f79
No related branches found
No related tags found
No related merge requests found
...@@ -87,6 +87,7 @@ from .eddy import (eddy_cuda, # noqa ...@@ -87,6 +87,7 @@ from .eddy import (eddy_cuda, # noqa
applytopup) applytopup)
from .fast import (fast,) # noqa from .fast import (fast,) # noqa
from .fsl_anat import (fsl_anat,) # noqa from .fsl_anat import (fsl_anat,) # noqa
from .fsl_sub import (fsl_sub,) # noqa
from .flirt import (flirt, # noqa from .flirt import (flirt, # noqa
invxfm, invxfm,
applyxfm, applyxfm,
......
#!/usr/bin/env python
#
# fsl_sub.py - Wrapper for the fsl_sub command.
#
# Author: Paul McCarthy <pauldmccarthy@gmail.com>
#
"""This module provides the :func:`fsl_sub` function, a wrapper for the FSL
`fsl_sub <https://git.fmrib.ox.ac.uk/fsl/fsl_sub>`_ command.
"""
from . import wrapperutils as wutils
@wutils.fslwrapper
def fsl_sub(*args, **kwargs):
"""Wrapper for the ``fsl_sub`` command.
"""
cmd = ['fsl_sub']
cmd += wutils.applyArgStyle('--', singlechar_args=True, **kwargs)
cmd += list(args)
return cmd
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