From 8f0c1fb8ecc379a318dcada6417a6f65c4ca524a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Tue, 23 Jun 2015 16:24:10 +0200 Subject: [PATCH] Debugging. --- pylot/core/pick/run_autopicking.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pylot/core/pick/run_autopicking.py b/pylot/core/pick/run_autopicking.py index 10ad21ae..7bf63cef 100755 --- a/pylot/core/pick/run_autopicking.py +++ b/pylot/core/pick/run_autopicking.py @@ -13,7 +13,7 @@ import matplotlib.pyplot as plt import numpy as np from pylot.core.pick.Picker import * from pylot.core.pick.CharFuns import * -import pdb + def run_autopicking(wfstream, pickparam): """ :param: wfstream @@ -482,8 +482,8 @@ def run_autopicking(wfstream, pickparam): plt.ylim([-1.5, 1.5]) plt.ylabel('Normalized Counts') plt.suptitle(tr_filt.stats.starttime) - - if len(edat) > 1 and len(ndat) > 1 and Sflag == 1: + + if len(edat[0]) > 1 and len(ndat[0]) > 1 and Sflag == 1: # plot horizontal traces plt.subplot(3, 1, 2) th1data = np.arange(0,