Commit f6bee12b authored by Samuel Debionne's avatar Samuel Debionne Committed by Alejandro Homs Puron
Browse files

Remove proc_invariant_recv_plugins

parent b8d34861
......@@ -170,14 +170,11 @@ def lima2_get_executables(tango_config, args):
if not plugin:
raise ValueError('Missing lima2_tango plugin definition')
proc = tango_config.get('processing', '')
merged = f'lima2_{plugin}'
if not proc:
raise ValueError('Missing lima2_tango processing definition')
merged = f'lima2_{plugin}_{proc}'
ctrl = f'lima2_{plugin}_ctrl'
recv = f'lima2_{plugin}_recv_{proc}'
proc_invariant_recv_plugins = ['simulator']
if plugin in proc_invariant_recv_plugins:
recv = f'lima2_{plugin}_recv'
elif not proc:
raise ValueError('Missing lima2_tango processing definition')
return dict(merged=merged, ctrl=ctrl, recv=recv)
......@@ -257,7 +254,7 @@ def main():
json_config = get_tango_json_config(server, args.tango_personal_name)
mandatory = 'json_config', 'json_config_file', 'tango_personal_name'
print(f'Error: must specify one optiom among {mandatory}\n')
print(f'Error: must specify one option among {mandatory}\n')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment