summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)