PierreBarrat / TreeTools.jl

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

tree display failing in simple example #34

Closed PierreBarrat closed 1 year ago

PierreBarrat commented 1 year ago

This fails

using TreeTools
A = TreeNode(label = "A")
B = TreeNode(label="B")
graftnode!(A, B)
t = node2tree(A)

What fails is not the node2tree itself, but the display, i.e. changing the last line to node2tree(A); works.