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)