From cd26d85f7cf06e10a1d8a65c65b95d3bdc0329e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Wed, 11 Nov 2015 14:10:44 +0100 Subject: [PATCH] Debuged: Checks additionally for component 3 if component Z not available. --- pylot/core/pick/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pylot/core/pick/utils.py b/pylot/core/pick/utils.py index 8319d90a..2eed988a 100644 --- a/pylot/core/pick/utils.py +++ b/pylot/core/pick/utils.py @@ -867,6 +867,8 @@ def checkZ4S(X, pick, zfac, checkwin, iplot): # split components zdat = X.select(component="Z") + if len(zdat) == 0: # check for other components + zdat = X.select(component="3") edat = X.select(component="E") if len(edat) == 0: # check for other components edat = X.select(component="2")