Closedown

This commit is contained in:
gac-x03da
2018-04-17 15:55:40 +02:00
parent b8b3987fa5
commit e9892e29b8
+2 -5
View File
@@ -238,13 +238,10 @@ diag_channels.append(ManipulatorCoolFlow)
diag_channels.append(ManipulatorCoolFlowSet)
diag_channels.append(MonoGrating)
def get_channel_key(channel):
return channel.name
diag_channels = sorted(diag_channels, key=get_channel_key)
diag_channels = sorted(diag_channels, key=lambda channel: channel.name)
def get_diag_name(diag):
return ch.psi.utils.Str.toTitleCase(diag.getName()).replace(" ", "")
return ch.psi.utils.Str.toTitleCase(diag.getName()).replace(" ", "").replace("Readback", "")
def print_diag():
for f in diag_channels: