From 385b52284fd35afb7948cd2839ad4bc563c8c695 Mon Sep 17 00:00:00 2001 From: Tamas Gal <himself@tamasgal.com> Date: Wed, 9 Feb 2022 18:53:19 +0100 Subject: [PATCH] Fix docs --- examples/plot_online_example.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/plot_online_example.py b/examples/plot_online_example.py index 9b664f0..2dfec0c 100644 --- a/examples/plot_online_example.py +++ b/examples/plot_online_example.py @@ -49,7 +49,7 @@ print(f.events[0].snapshot_hits.tot) # keyword and then use the data which has been "pulled out" of the ROOT file. -for chunk in f.summaryslices.slices: +for chunk in f.slices: break ##################################################### @@ -72,3 +72,6 @@ print(chunks.slices.type) # To read the frame index of all summaryslices in the obtained chunk: print(chunk.headers.frame_index) + +##################################################### +# To be continued... -- GitLab