From 15603d98fb61d25db0e42b5e66ee960f74085a9b Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Mon, 22 Jul 2019 10:11:53 +0100 Subject: [PATCH] BF: Fix to argument specs --- fsl/scripts/fsl_apply_x5.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fsl/scripts/fsl_apply_x5.py b/fsl/scripts/fsl_apply_x5.py index 8128ec348..ed535ea96 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)), } -- GitLab