Skip to content
Snippets Groups Projects
Commit fb10710f authored by Martin Craig's avatar Martin Craig
Browse files

Add kwargs to applyxfm wrapper - required for logging options

parent ac3fd5c1
No related branches found
No related tags found
No related merge requests found
...@@ -59,14 +59,15 @@ def flirt(src, ref, **kwargs): ...@@ -59,14 +59,15 @@ def flirt(src, ref, **kwargs):
return cmd return cmd
def applyxfm(src, ref, mat, out, interp='spline'): def applyxfm(src, ref, mat, out, interp='spline', **kwargs):
"""Convenience function which runs ``flirt -applyxfm ...``.""" """Convenience function which runs ``flirt -applyxfm ...``."""
return flirt(src, return flirt(src,
ref, ref,
out=out, out=out,
applyxfm=True, applyxfm=True,
init=mat, init=mat,
interp=interp) interp=interp,
**kwargs)
@wutils.fileOrArray() @wutils.fileOrArray()
......
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