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

BF: Fix to argument specs

parent 7fee93d6
No related branches found
No related tags found
No related merge requests found
...@@ -46,15 +46,15 @@ def parseArgs(args=None): ...@@ -46,15 +46,15 @@ def parseArgs(args=None):
'reference specified in X5 file)', 'reference specified in X5 file)',
} }
opts = { opts = {
'input' : dict(helps['input'], 'input' : dict(help=helps['input'],
type=parse_data.Image), type=parse_data.Image),
'xform' : dict(helps['xform']), 'xform' : dict(help=helps['xform']),
'output' : dict(helps['output'], 'output' : dict(help=helps['output'],
type=parse_data.ImageOut), type=parse_data.ImageOut),
'interp' : dict(helps['interp'], 'interp' : dict(help=helps['interp'],
choices=('nearest', 'linear', 'cubic'), choices=('nearest', 'linear', 'cubic'),
default='linear'), default='linear'),
'ref' : dict(helps['ref'], 'ref' : dict(help=helps['ref'],
type=ft.partial(parse_data.Image, loadData=False)), type=ft.partial(parse_data.Image, loadData=False)),
} }
......
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