Enabled writing for FOCMEC output.
This commit is contained in:
4
PyLoT.py
4
PyLoT.py
@@ -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):",
|
||||
"Enter output format (*.xml, *.cnv, *.obs, *.focmec):",
|
||||
"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']):
|
||||
def saveData(self, event=None, directory=None, outformats=['.xml', '.cnv', '.obs', '.focmec']):
|
||||
'''
|
||||
Save event data to directory with specified output formats.
|
||||
:param event: PyLoT Event, if not set current event will be used
|
||||
|
||||
Reference in New Issue
Block a user