From 74c68d6a14ad4ed17e39526a85ff8f5094361017 Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 28 May 2019 11:22:09 +0200 Subject: [PATCH] [hotfix] deepcopy of Pickparameter object --- pylot/core/pick/autopick.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pylot/core/pick/autopick.py b/pylot/core/pick/autopick.py index 87031f0a..0ee23fa8 100644 --- a/pylot/core/pick/autopick.py +++ b/pylot/core/pick/autopick.py @@ -8,6 +8,8 @@ function conglomerate utils. :author: MAGS2 EP3 working group / Ludger Kueperkoch """ +import copy + import matplotlib.pyplot as plt import numpy as np import traceback @@ -268,7 +270,7 @@ class AutopickStation(object): """ # save given parameters self.wfstream = wfstream - self.pickparams = pickparam + self.pickparams = copy.deepcopy(pickparam) self.verbose = verbose self.iplot = correct_iplot(iplot) self.fig_dict = real_None(fig_dict)