[hotfix] deepcopy of Pickparameter object

This commit is contained in:
Marcel Paffrath 2019-05-28 11:22:09 +02:00
parent 77eec8e94c
commit 74c68d6a14

View File

@ -8,6 +8,8 @@ function conglomerate utils.
:author: MAGS2 EP3 working group / Ludger Kueperkoch :author: MAGS2 EP3 working group / Ludger Kueperkoch
""" """
import copy
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
import numpy as np import numpy as np
import traceback import traceback
@ -268,7 +270,7 @@ class AutopickStation(object):
""" """
# save given parameters # save given parameters
self.wfstream = wfstream self.wfstream = wfstream
self.pickparams = pickparam self.pickparams = copy.deepcopy(pickparam)
self.verbose = verbose self.verbose = verbose
self.iplot = correct_iplot(iplot) self.iplot = correct_iplot(iplot)
self.fig_dict = real_None(fig_dict) self.fig_dict = real_None(fig_dict)