From 3745815d480189582bac65482142ab45e13c5eb3 Mon Sep 17 00:00:00 2001
From: Tamas Gal <tgal@km3net.de>
Date: Thu, 21 May 2020 18:47:10 +0200
Subject: [PATCH] Add message when creating cache

---
 km3io/rootio.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/km3io/rootio.py b/km3io/rootio.py
index ff730f2..71bc8d2 100644
--- a/km3io/rootio.py
+++ b/km3io/rootio.py
@@ -144,6 +144,7 @@ class Branch:
             basketcache=BASKET_CACHE)
         if self._index_chain is not None and key in self._mapper.toawkward:
             if key not in self._awkward_cache:
+                print("Creating cache for the '{}' branch...".format(key))
                 self._awkward_cache[key] = ak.from_iter(out)
             out = self._awkward_cache[key]
         return unfold_indices(out, self._index_chain)
-- 
GitLab