Skip to content
Snippets Groups Projects
Commit 02d4d05e authored by Karim Ahmed's avatar Karim Ahmed
Browse files

mr comment

parent bae69c16
No related branches found
No related tags found
1 merge request!326update_config with new mapping
......@@ -64,12 +64,14 @@ bool_keys = []
# Avoid erros when karabo_id not yet given through the command line.
if karabo_id is not None:
# adding "no" bools to available options
for det, val in available_options[karabo_id][0].items():
if val['typ'] == bool:
bool_keys.append(det)
for b in bool_keys:
available_options[karabo_id][0]['no-{}'.format(b)] = {'typ': bool}
available_options[karabo_id][0]['no-{}'.format(det)] = {'typ': bool}
for exposed_options in available_options[karabo_id]:
for option, info in exposed_options.items():
metavar = None
......
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