Added root flattening

This commit is contained in:
2026-08-12 16:35:12 +02:00
parent 65fcde7b02
commit 3213f6fe45
2 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -276,7 +276,8 @@ class BeamlineEditor(QtWidgets.QMainWindow, Ui_BeamlineGUI):
rows = read_excel_sheet(fileName, "Proto-HL")
allElements=self.UIUnresolvedElements.isChecked()
populate_table_comparison(self.UIProtoList,self.plrecs,rows,tolerance=1e-5,report_all=allElements)
populate_table_comparison(self.UIProtoList,self.plrecs,rows,tolerance=1.5e-4,report_all=allElements)
def saveTemplates(self):
+3 -1
View File
@@ -334,10 +334,12 @@ class ProtoListe(ApplicationTemplate):
channels=ele['PSChannels']
if ele.Baugruppe=='U15':
channels=channels+1
elif ele.Baugruppe == 'SFPlus-U12-AB':
if ele.Baugruppe == 'SFPlus-U12-AB':
channels=channels+1
if ele.Baugruppe == 'UE38':
channels = channels + 2
if ele.Baugruppe == 'SFPlus-SUE38':
channels=channels+2
if ele.Baugruppe=='QFU':
channels=channels-1
if ele.Baugruppe=='QFUE':