Commit ee874d2d authored by Aleksandra Mnich's avatar Aleksandra Mnich
Browse files

[SIGMON-356] imports of `lhcsmapi.gui.pc.select` fixed

parent c7bc7980
Pipeline #4155840 passed with stages
in 15 minutes and 28 seconds
...@@ -9,8 +9,7 @@ from ipywidgets import Dropdown, HBox, VBox, Select, Label, Layout ...@@ -9,8 +9,7 @@ from ipywidgets import Dropdown, HBox, VBox, Select, Label, Layout
from lhcsmapi.gui.AnalysisModeDoneByModule import AnalysisModeDoneByModule from lhcsmapi.gui.AnalysisModeDoneByModule import AnalysisModeDoneByModule
from lhcsmapi.gui.pc.FgcPmCircuitNameDropdownBaseModule import get_circuit_names_or_prefixes_to_display from lhcsmapi.gui.pc.FgcPmCircuitNameDropdownBaseModule import get_circuit_names_or_prefixes_to_display
from lhcsmapi.gui.ModuleMediator import ModuleMediator from lhcsmapi.gui.ModuleMediator import ModuleMediator
from lhcsmapi.gui.pc.fgc_pm_event_select.IpdFgcPmEventSelectBaseModule import IpdFgcPmEventSelectBaseModule from lhcsmapi.gui.pc import select
from lhcsmapi.gui.pc.fgc_pm_event_select.IpqFgcPmEventSelectBaseModule import IpqFgcPmEventSelectBaseModule
from lhcsmapi.metadata import signal_metadata from lhcsmapi.metadata import signal_metadata
pd.set_option('mode.chained_assignment', None) pd.set_option('mode.chained_assignment', None)
...@@ -103,9 +102,9 @@ class HwcSearchModuleMediator(ModuleMediator): ...@@ -103,9 +102,9 @@ class HwcSearchModuleMediator(ModuleMediator):
display(self.widget) display(self.widget)
if self._circuit_type == 'IPQ': if self._circuit_type == 'IPQ':
IpqFgcPmEventSelectBaseModule('IPQ').display_qps_circuit_schematic(self.get_circuit_name()) select.get_module_for_circuit_type('IPQ').display_qps_circuit_schematic(self.get_circuit_name())
elif self._circuit_type == 'IPD': elif self._circuit_type == 'IPD':
IpdFgcPmEventSelectBaseModule('IPD').display_qps_circuit_schematic(self.get_circuit_name()) select.get_module_for_circuit_type('IPD').display_qps_circuit_schematic(self.get_circuit_name())
print('Selected circuit: %s' % (self.get_circuit_name())) print('Selected circuit: %s' % (self.get_circuit_name()))
print('Selected HWC test start time: %s and end time: %s.' % (self.get_start_time(), self.get_end_time())) print('Selected HWC test start time: %s and end time: %s.' % (self.get_start_time(), self.get_end_time()))
......
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