Consistent prefix for all PyLoT-output.
This commit is contained in:
parent
c9f0b126df
commit
9746913f8b
@ -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)"
|
||||
|
@ -1 +1 @@
|
||||
410fe-dirty
|
||||
c9f0b-dirty
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user