Optimized matching for the case of compression in the Switchyard
This commit is contained in:
@@ -93,6 +93,7 @@ class OpticsTools(QtWidgets.QMainWindow, QtCore.QObject, Ui_OpticsGUI):
|
||||
#enfore the writing of a new lattice so that the magnet settings are in the new lattice
|
||||
self.model.forceLat = True
|
||||
self.plot.newData(twiss, energy)
|
||||
self.model.checkMagnetLimit()
|
||||
if self.UISaveMatchSettings.isChecked():
|
||||
fileName = self.match.scriptdir+'/settings.json'
|
||||
self.saveSettingsdirect(fileName)
|
||||
|
||||
Reference in New Issue
Block a user