From 9e169cb0858e87f63d6c2f92de4c906cf4e88dd3 Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Tue, 26 Oct 2021 09:48:52 +0200 Subject: [PATCH] Closedown --- script/local.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/script/local.py b/script/local.py index 5535978d..f1593464 100644 --- a/script/local.py +++ b/script/local.py @@ -259,8 +259,10 @@ diag_channels.append(ChamberPressure) diag_channels.append(BeamlinePressure) diag_channels.append(ManipulatorTempA) diag_channels.append(ManipulatorTempB) -diag_channels.append(ManipulatorCoolFlow) -diag_channels.append(ManipulatorCoolFlowSet) +if get_device("ManipulatorCoolFlow"): + diag_channels.append(ManipulatorCoolFlow) +if get_device("ManipulatorCoolFlowSet"): + diag_channels.append(ManipulatorCoolFlowSet) diag_channels.append(MonoGrating) diag_channels = sorted(diag_channels, key=lambda channel: channel.name)