Reversed changes made in previous commit, initialize ObsPy-event object including path.

This commit is contained in:
Ludger Küperkoch
2017-08-17 12:31:42 +02:00
parent ea7b609091
commit 24ded1cf2b
3 changed files with 3 additions and 2 deletions

View File

@@ -228,8 +228,9 @@ class Data(object):
else:
evtdata_org = self.get_evt_data()
picks = evtdata_org.picks
eventpath = evtdata_org.path
picks_copy = copy.deepcopy(picks)
evtdata_copy = Event(fnout)
evtdata_copy = Event(eventpath)
evtdata_copy.picks = picks_copy
# check for stations picked automatically as well as manually