From 83f2cc47ae86af03661d206b29832c6f38b775ba Mon Sep 17 00:00:00 2001 From: gac-maloja Date: Thu, 30 Sep 2021 17:58:49 +0200 Subject: [PATCH] do not limit selection of pipelines when -a is given --- scam.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scam.py b/scam.py index 062d35c..65e5cb8 100755 --- a/scam.py +++ b/scam.py @@ -41,8 +41,9 @@ from settings import SettingsList pc = PipelineClient("http://sf-daqsync-01:8889") si = pc.get_server_info() -ai = si["active_instances"] -pls = (i for i in ai if "psen_db" in i) +pls = si["active_instances"] +if not clargs.show_all_settings: + pls = (i for i in pls if "spec_db" in i) pls = sorted(pls) @@ -68,7 +69,7 @@ class MainPanel(wx.Panel): self.cb_pls = cb_pls = wx.ComboBox(self, choices=pls) - self.eb_bkg = eb_bkg = EntryButton(self, label="Background Images", value=100, button="Save Background") + self.eb_bkg = eb_bkg = EntryButton(self, label="Background Images", value=100, button="Record Background") eb_bkg.Disable() self.entries = entries = SettingsList(self)