Skip to content

Commit

Permalink
Copies ttree metadata, not writing baskets correctly yet
Browse files Browse the repository at this point in the history
  • Loading branch information
zbilodea committed Feb 29, 2024
1 parent 891863f commit dfff08f
Show file tree
Hide file tree
Showing 3 changed files with 736 additions and 639 deletions.
6 changes: 5 additions & 1 deletion src/uproot/writing/_cascade.py
Original file line number Diff line number Diff line change
Expand Up @@ -1783,14 +1783,18 @@ def copy_tree(
self,
sink,
existing,
name,
file,
# new_branch
):
import uproot.writing._copytree

tree = uproot.writing._copytree.Tree(
self,
self._freesegments,
existing,
# new_branch
name,
file
)
tree.write_copy(sink)
return tree
Expand Down
Loading

0 comments on commit dfff08f

Please sign in to comment.