From 2ce609a19c75e709d3732e42ec4bbc7738895853 Mon Sep 17 00:00:00 2001 From: Marcel Date: Wed, 23 Aug 2017 14:46:30 +0200 Subject: [PATCH] [bugfix] tuneAutopicker not working cause of wadatijack --- autoPyLoT.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/autoPyLoT.py b/autoPyLoT.py index d55129d6..88e09c8b 100755 --- a/autoPyLoT.py +++ b/autoPyLoT.py @@ -264,8 +264,11 @@ def autoPyLoT(input_dict=None, parameter=None, inputfile=None, fnames=None, even print(wfdat) ########################################################## # !automated picking starts here! + fdwj = None + if fig_dict_wadatijack: + fdwj = fig_dict_wadatijack[evID] picks = autopickevent(wfdat, parameter, iplot=iplot, fig_dict=fig_dict, - fig_dict_wadatijack=fig_dict_wadatijack[evID], + fig_dict_wadatijack=fdwj, ncores=ncores, metadata=metadata, origin=data.get_evt_data().origins) ########################################################## # locating