w
This commit is contained in:
@@ -161,7 +161,7 @@ class DebugTools:
|
||||
s.wait()
|
||||
print("Acquire measurement finished.")
|
||||
print("Checking MCS data...")
|
||||
scan_data = bec.history.get_by_scan_id(s.scan_id)
|
||||
scan_data = bec.history.get_by_scan_id(s.scans.scan_id)
|
||||
mcs_data = scan_data.devices.mcs
|
||||
print(mcs_data)
|
||||
|
||||
@@ -187,7 +187,7 @@ class DebugTools:
|
||||
|
||||
for entry in cfg["detector"]:
|
||||
det = Detector(
|
||||
name=to_identifier(entry["description"]), hostnames=entry["hostnames"], cfg=cfg
|
||||
name=to_identifier(entry["description"]), hostnames=entry["hostname"], cfg=cfg
|
||||
)
|
||||
ret[det.name] = det
|
||||
return ret
|
||||
@@ -247,11 +247,7 @@ class DebugTools:
|
||||
|
||||
def open_it_service_page(self):
|
||||
"""Open the overview of IT services hosted by Science IT (Leo Sala) for cSAXS."""
|
||||
try:
|
||||
dock_area = gui.new()
|
||||
except Exception as e:
|
||||
print(f"Could not open new GUI dock area: {e}")
|
||||
return
|
||||
dock_area = gui.new()
|
||||
print("Opening IT service page in new dock...")
|
||||
url = "https://metrics.psi.ch/d/saf8mxv/x12sa?orgId=1&from=now-24h&to=now&timezone=browser&var-receiver_hosts=sls-jfjoch-001.psi.ch&var-writer_hosts=xbl-daq-34.psi.ch&var-beamline=X12SA&var-slurm_partitions=csaxs&var-receiver_services=broker&var-writer_services=writer&refresh=15m"
|
||||
wb = dock_area.new(widget=gui.available_widgets.WebsiteWidget)
|
||||
|
||||
Reference in New Issue
Block a user