From e26eda99ac87455d55d17518b8a9e8413e5713fd Mon Sep 17 00:00:00 2001 From: Stan Seibert Date: Tue, 25 Oct 2011 17:52:10 -0400 Subject: Fix silly bug in RootReader.jump_to() --- chroma/io/root.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chroma/io/root.py b/chroma/io/root.py index 0454524..d95b896 100644 --- a/chroma/io/root.py +++ b/chroma/io/root.py @@ -146,6 +146,8 @@ class RootReader(object): if index < 0 or index >= len(self): raise IndexError + self.i = index + self.T.GetEntry(self.i) return root_event_to_python_event(self.T.ev) -- cgit