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

MNT: Add boolean flags to fnirt wrapper

parent e3027f6a
No related branches found
No related tags found
No related merge requests found
......@@ -32,8 +32,13 @@ def fnirt(src, **kwargs):
asrt.assertIsNifti(src)
valmap = {
'v' : wutils.SHOW_IF_TRUE,
'verbose' : wutils.SHOW_IF_TRUE,
}
cmd = ['fnirt', '--in={}'.format(src)]
cmd += wutils.applyArgStyle('--=', **kwargs)
cmd += wutils.applyArgStyle('--=', valmap=valmap, **kwargs)
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