Closedown

This commit is contained in:
gac-x03da
2018-04-17 15:50:02 +02:00
parent 8e8feed4b6
commit b8b3987fa5

View File

@@ -238,6 +238,11 @@ 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)
def get_diag_name(diag):
return ch.psi.utils.Str.toTitleCase(diag.getName()).replace(" ", "")