Skip to content
Snippets Groups Projects
Commit 94e03cb3 authored by BRONES Romain's avatar BRONES Romain
Browse files

(sync) Use field in free property to deselect some BPM

* Only take BPM if they have type LIBERA
parent 513d4a16
No related branches found
No related tags found
No related merge requests found
...@@ -512,7 +512,7 @@ def sync_all_bpm(): ...@@ -512,7 +512,7 @@ def sync_all_bpm():
db = tango.Database() db = tango.Database()
bpmlist = [n.split(':')[2] for n in db.get_property("FOFB", "bpmlist")['bpmlist']] bpmlist = [n.split(':')[2] for n in db.get_property("FOFB", "bpmlist")['bpmlist'] if ":LIBERA:" in n]
bpmidlist = [(int(n.split(':')[0]), n.split(':')[2]) for n in db.get_property("FOFB", "bpmlist")['bpmlist'] if 'LIBERA' in n] bpmidlist = [(int(n.split(':')[0]), n.split(':')[2]) for n in db.get_property("FOFB", "bpmlist")['bpmlist'] if 'LIBERA' in n]
tlocal = tango.Group('tlocal') tlocal = tango.Group('tlocal')
......
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