Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LimaGroup
Lima-Launcher
Commits
f6bee12b
Commit
f6bee12b
authored
Feb 07, 2022
by
Samuel Debionne
Committed by
Alejandro Homs Puron
Mar 22, 2022
Browse files
Remove proc_invariant_recv_plugins
parent
b8d34861
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/lima_launcher
View file @
f6bee12b
...
...
@@ -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
)
else
:
mandatory
=
'json_config'
,
'json_config_file'
,
'tango_personal_name'
print
(
f
'Error: must specify one optio
m
among
{
mandatory
}
\n
'
)
print
(
f
'Error: must specify one optio
n
among
{
mandatory
}
\n
'
)
parser
.
print_help
()
exit
(
1
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment