Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/uproot/behaviors/TBranch.py
Original file line number Diff line number Diff line change
Expand Up @@ -1965,7 +1965,9 @@ def cache_key(self):
"""
if self._cache_key is None:
sep = ":" if isinstance(self._parent, uproot.behaviors.TTree.TTree) else "/"
self._cache_key = f"{self.parent.cache_key}{sep}{self.name}({self.index})"
self._cache_key = (
f"{self.parent.cache_key}{sep}{self.name}({self.member('fOffset')})"
)
return self._cache_key

@property
Expand Down Expand Up @@ -2923,7 +2925,7 @@ def _regularize_expressions(
):
_regularize_expression(
hasbranches,
language.getter_of(branchname),
branchname,
keys,
aliases,
language,
Expand Down
Loading