From 1c749dd9a8afc8eb89ec412b6f3bb4bf61c1a5ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Tue, 23 Jun 2015 12:24:13 +0200 Subject: [PATCH] Debugging. --- pylot/core/pick/run_autopicking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylot/core/pick/run_autopicking.py b/pylot/core/pick/run_autopicking.py index c73868ac..10ad21ae 100755 --- a/pylot/core/pick/run_autopicking.py +++ b/pylot/core/pick/run_autopicking.py @@ -379,7 +379,7 @@ def run_autopicking(wfstream, pickparam): ipick = 1 elif epickS1 is not None and epickS2 == None: ipick = 0 - elif epickS1 is not None and epickS is not None: + elif epickS1 is not None and epickS2 is not None: ipick = np.argmin([epickS1, epickS2]) elif algoS == 'AR3': [lpickS3, epickS3, Serror3] = earllatepicker(h_copy, nfacS,