Skip to content
Snippets Groups Projects
Commit 59f3d416 authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Support lists of ints for config

parent 0fbd8428
No related branches found
No related tags found
1 merge request!1020Add JUNGFRAU roi-definitions to update_config.py script
......@@ -69,7 +69,7 @@ TIMEPIX_CONFIGURATIONS = {
JUNGFRAU_CONFIGURATIONS = {
'correct': {
'roi-definitions': {'type': list},
'roi-definitions': {'type': list, 'element_type': int},
}
}
......@@ -202,7 +202,7 @@ def _add_available_configs_to_arg_parser(karabo_id: str, action: str):
"action": 'append',
"nargs": '+',
}
type_ = str
type_ = info.get('element_type', str)
# Avoid having a big line of choices in the help message.
if choices:
arguments.update({
......
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