Make sure to load autoPyLoT-event information from xml file.
This commit is contained in:
parent
79192cda33
commit
e083e75d73
8
PyLoT.py
8
PyLoT.py
@ -22,7 +22,7 @@ https://www.iconfinder.com/iconsets/flavour
|
||||
GNU Lesser General Public License, Version 3
|
||||
(http://www.gnu.org/copyleft/lesser.html)
|
||||
"""
|
||||
|
||||
import pdb
|
||||
import argparse
|
||||
import matplotlib
|
||||
import os
|
||||
@ -2853,7 +2853,11 @@ class MainWindow(QMainWindow):
|
||||
event.pylot_autopicks = {}
|
||||
picksdict = picksdict_from_picks(evt=self.get_data().get_evt_data())
|
||||
event.addPicks(picksdict['manual'])
|
||||
event.addAutopicks(picksdict['auto'])
|
||||
if picksdict['auto'] == {}:
|
||||
event.addAutopicks(picksdict)
|
||||
else:
|
||||
event.addAutopicks(picksdict['auto'])
|
||||
|
||||
|
||||
def drawPicks(self, station=None, picktype=None, stime=None):
|
||||
# if picktype not specified, draw both
|
||||
|
Loading…
Reference in New Issue
Block a user