File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 3030from cachetools import LRUCache
3131
3232from ..nanoevents import NanoEventsFactory , schemas
33+ from ..nanoevents .util import key_to_tuple
3334from ..util import _exception_chain , _hash , deprecate , rich_bar
3435from .accumulator import Accumulatable , accumulate , set_accumulator
3536from .checkpointer import CheckpointerABC
@@ -1532,7 +1533,10 @@ def _work_function(
15321533 if isinstance (file , uproot .ReadOnlyDirectory ):
15331534 metrics ["bytesread" ] = file .file .source .num_requested_bytes
15341535 if schema is not None and issubclass (schema , schemas .BaseSchema ):
1535- metrics ["columns" ] = set (materialized )
1536+ metrics ["columns" ] = {
1537+ f"{ x .branch } -{ key_to_tuple (x .buffer_key )[3 ]} "
1538+ for x in materialized
1539+ }
15361540 metrics ["entries" ] = len (events )
15371541 metrics ["processtime" ] = toc - tic
15381542 out = {"out" : out , "metrics" : metrics , "processed" : {item }}
You can’t perform that action at this time.
0 commit comments