From 3ba9eccc9218a856f1112bd79ba544aa7f27e1cc Mon Sep 17 00:00:00 2001 From: Tamas Gal <tgal@km3net.de> Date: Wed, 9 Dec 2020 16:43:15 +0100 Subject: [PATCH] Fix best_track --- km3io/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/km3io/tools.py b/km3io/tools.py index cc3546a..2bc0e00 100644 --- a/km3io/tools.py +++ b/km3io/tools.py @@ -288,7 +288,7 @@ def best_track(tracks, startend=None, minmax=None, stages=None): return namedtuple("BestTrack", out.fields)( *[getattr(out, a)[0] for a in out.fields] ) - return m3, out + return out def mask(arr, sequence=None, startend=None, minmax=None, atleast=None): -- GitLab