diff --git a/fsl/scripts/fsl_apply_x5.py b/fsl/scripts/fsl_apply_x5.py index 8128ec348a3a3c4b8b8bd3e50190255f4b64229f..ed535ea96a6082213939aa9d9130e7b9dea319e5 100644 --- a/fsl/scripts/fsl_apply_x5.py +++ b/fsl/scripts/fsl_apply_x5.py @@ -46,15 +46,15 @@ def parseArgs(args=None): 'reference specified in X5 file)', } opts = { - 'input' : dict(helps['input'], + 'input' : dict(help=helps['input'], type=parse_data.Image), - 'xform' : dict(helps['xform']), - 'output' : dict(helps['output'], + 'xform' : dict(help=helps['xform']), + 'output' : dict(help=helps['output'], type=parse_data.ImageOut), - 'interp' : dict(helps['interp'], + 'interp' : dict(help=helps['interp'], choices=('nearest', 'linear', 'cubic'), default='linear'), - 'ref' : dict(helps['ref'], + 'ref' : dict(help=helps['ref'], type=ft.partial(parse_data.Image, loadData=False)), }