[addresses #167] started fixing the multiple phase saving issue
This commit is contained in:
@@ -1 +1 @@
|
||||
1abc-dirty
|
||||
497c-dirty
|
||||
|
||||
@@ -52,6 +52,13 @@ class Data(object):
|
||||
def __str__(self):
|
||||
return str(self.wfdata)
|
||||
|
||||
def getPicksStr(self):
|
||||
picks_str = ''
|
||||
for pick in self.getEvtData().picks:
|
||||
picks_str += str(pick) + '\n'
|
||||
return picks_str
|
||||
|
||||
|
||||
def getParent(self):
|
||||
"""
|
||||
|
||||
@@ -360,9 +367,11 @@ class Data(object):
|
||||
|
||||
def applyPicks(picks):
|
||||
"""
|
||||
|
||||
Creates ObsPy pick objects and append it to the picks list from the
|
||||
PyLoT dictionary contain all picks.
|
||||
:param picks:
|
||||
:raise OverwriteError:
|
||||
:raise OverwriteError: raises an OverwriteError if the picks list is
|
||||
not empty. The GUI will then ask for a decision.
|
||||
"""
|
||||
firstonset = None
|
||||
if self.getEvtData().picks:
|
||||
|
||||
Reference in New Issue
Block a user