summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Seibert <stan@mtrr.org>2011-10-25 17:52:10 -0400
committertlatorre <tlatorre@uchicago.edu>2021-05-09 08:42:38 -0700
commite26eda99ac87455d55d17518b8a9e8413e5713fd (patch)
treede9d7f176a2f2d2d28cd53bba9219d32306d91d0
parent025a03b2c36d74b9f123e27199cd6966c520631c (diff)
downloadchroma-e26eda99ac87455d55d17518b8a9e8413e5713fd.tar.gz
chroma-e26eda99ac87455d55d17518b8a9e8413e5713fd.tar.bz2
chroma-e26eda99ac87455d55d17518b8a9e8413e5713fd.zip
Fix silly bug in RootReader.jump_to()
-rw-r--r--chroma/io/root.py2
1 files changed, 2 insertions, 0 deletions
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)