Closedown
This commit is contained in:
+2
-5
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user