Consistent prefix for all PyLoT-output.

This commit is contained in:
Ludger Küperkoch 2017-06-23 15:45:45 +02:00
parent c9f0b126df
commit 9746913f8b
3 changed files with 4 additions and 4 deletions

View File

@ -648,7 +648,7 @@ class MainWindow(QMainWindow):
for event in events:
path = event.path
eventname = path.split('/')[-1]
filename = os.path.join(path, 'picks_'+eventname+fext)
filename = os.path.join(path, 'PyLoT_'+eventname+fext)
if os.path.isfile(filename):
self.load_data(filename, draw=False, event=event, overwrite=True)
refresh=True
@ -992,7 +992,7 @@ class MainWindow(QMainWindow):
print('warning: {0}'.format(e))
directory = self.get_current_event_path()
eventname = self.get_current_event_name()
filename = 'picks_'+eventname
filename = 'PyLoT_'+eventname
outpath = os.path.join(directory, filename)
file_filter = "QuakeML file (*.xml);;VELEST observation file " \
"format (*.cnv);;NonLinLoc observation file (*.obs)"

View File

@ -1 +1 @@
410fe-dirty
c9f0b-dirty

View File

@ -95,7 +95,7 @@ class Data(object):
def getPicksStr(self):
picks_str = ''
for pick in self.get_evt_data().picks:
picks_str += str(pick) + '\n'
picks_str += str(PyLoT) + '\n'
return picks_str
def getParent(self):