Skip to content
Snippets Groups Projects
Commit 3745815d authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Add message when creating cache

parent 5e57882a
No related branches found
No related tags found
No related merge requests found
Pipeline #11487 passed with warnings
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment