Added output for hypoDD.

This commit is contained in:
2020-07-28 13:08:25 +02:00
parent 1f6a44eeef
commit df6a6c1c71
5 changed files with 35 additions and 14 deletions

View File

@@ -200,7 +200,7 @@ class MainWindow(QMainWindow):
settings.setValue('useGuiFilter', False)
if settings.value('output/Format', None) is None:
outformat = QInputDialog.getText(self,
"Enter output format (*.xml, *.cnv, *.obs, *.focmec):",
"Enter output format (*.xml, *.cnv, *.obs, *.focmec, *.pha):",
"Format")
settings.setValue("output/Format", outformat)
if settings.value('autoFilter', None) is None:
@@ -1481,7 +1481,7 @@ class MainWindow(QMainWindow):
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']):
def saveData(self, event=None, directory=None, outformats=['.xml', '.cnv', '.obs', '.focmec', '.pha']):
'''
Save event data to directory with specified output formats.
:param event: PyLoT Event, if not set current event will be used