Skip to content

Commit dfff08f

Browse files
committed
Copies ttree metadata, not writing baskets correctly yet
1 parent 891863f commit dfff08f

3 files changed

Lines changed: 736 additions & 639 deletions

File tree

src/uproot/writing/_cascade.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1783,14 +1783,18 @@ def copy_tree(
17831783
self,
17841784
sink,
17851785
existing,
1786+
name,
1787+
file,
17861788
# new_branch
17871789
):
17881790
import uproot.writing._copytree
17891791

17901792
tree = uproot.writing._copytree.Tree(
17911793
self,
1794+
self._freesegments,
17921795
existing,
1793-
# new_branch
1796+
name,
1797+
file
17941798
)
17951799
tree.write_copy(sink)
17961800
return tree

0 commit comments

Comments
 (0)