From 936077ecc081b82f856ce11d4ab6ea7a12d69477 Mon Sep 17 00:00:00 2001 From: Tamas Gal <tgal@km3net.de> Date: Tue, 28 Jan 2020 00:32:11 +0100 Subject: [PATCH] Fix typo --- scripts/ztplot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/ztplot.py b/scripts/ztplot.py index 7b746d9..cf3b27b 100755 --- a/scripts/ztplot.py +++ b/scripts/ztplot.py @@ -119,6 +119,8 @@ class ZTPlot(kp.Module): self.index += 1 + event_info = blob['EventInfo'] + run_id = event_info.run_id[0] if run_id != self.run_id: self.run_id = run_id @@ -126,7 +128,6 @@ class ZTPlot(kp.Module): hits = blob['Hits'] hits = self.calib.apply(hits) - event_info = blob['EventInfo'] n_triggered_dus = len(np.unique(hits[hits.triggered == True].du)) n_triggered_doms = len(np.unique(hits[hits.triggered == True].dom_id)) -- GitLab