From 9746913f8b737eb3130cda3e81dd9360b9cdc515 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Fri, 23 Jun 2017 15:45:45 +0200 Subject: [PATCH] Consistent prefix for all PyLoT-output. --- QtPyLoT.py | 4 ++-- pylot/RELEASE-VERSION | 2 +- pylot/core/io/data.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/QtPyLoT.py b/QtPyLoT.py index 6acaa2b9..ea5af579 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -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)" diff --git a/pylot/RELEASE-VERSION b/pylot/RELEASE-VERSION index 5f414d75..496682cc 100644 --- a/pylot/RELEASE-VERSION +++ b/pylot/RELEASE-VERSION @@ -1 +1 @@ -410fe-dirty +c9f0b-dirty diff --git a/pylot/core/io/data.py b/pylot/core/io/data.py index 358c597f..fb729132 100644 --- a/pylot/core/io/data.py +++ b/pylot/core/io/data.py @@ -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):