PierreBarrat / TreeTools.jl

Tools for handling rooted phylogenetic or genealogic trees with Julia.
https://pierrebarrat.github.io/TreeTools.jl/
MIT License
6 stars 1 forks source link

copy now deepcopies the node data #13

Closed PierreBarrat closed 2 years ago

PierreBarrat commented 2 years ago

copy(t::Tree) was creating a new empty data structure for each node. I have no idea why I wrote it like this. This caused a bug in Pluto, which apparently sometimes calls convert on variables between cells, which would reset the data in Tree objects. Anyway: copy now