refactor: removed unused code

This commit is contained in:
Sebastian Wehling-Benatelli 2024-07-17 14:05:04 +02:00
parent cb457fc7ec
commit 8623cc3dd3

View File

@ -1553,11 +1553,6 @@ class MainWindow(QMainWindow):
fname = str(action.data().toString()) fname = str(action.data().toString())
return fname return fname
def getEventFileName(self, type='manual'):
if self.get_fnames(type) is None:
self.set_fname(self.get_data().getEventFileName(), type)
return self.get_fnames(type)
def saveData(self, event=None, directory=None, outformats=['.xml', '.cnv', '.obs', '_focmec.in', '.pha']): def saveData(self, event=None, directory=None, outformats=['.xml', '.cnv', '.obs', '_focmec.in', '.pha']):
''' '''
Save event data to directory with specified output formats. Save event data to directory with specified output formats.