Skip to content

Releases: PierreBarrat/TreeTools.jl

v0.8.0

31 Mar 15:21
d3b11dd

Choose a tag to compare

TreeTools v0.8.0

Diff since v0.7.5

Breaking: API cleanup

  • Reduced namespace footprint: many functions demoted from export to public (node2tree, prunesubtree!, binarize!, ladderize!, check_tree, arecompatible, iscompatible, delete_branches!, print_tree_ascii, share_labels, divtime, distance_matrix)
  • newick is now exported as the primary function to get a Newick string; write_newick(tree) is deprecated in its favour
  • All @deprecate entries centralized in TreeTools.jl
  • New deprecations: divtimedistance, POT/POTleavestraversal(tree, :postorder), write_newick(tree)newick(tree)
  • Removed dead code: parse_bootstrap stub, __subtree_prune_regraft!

New features

  • diameter: O(n) tree diameter function using a post-order recursive pass
  • graftnode!: loop detection via a safe=true/false kwarg; previously grafting a node onto one of its own descendants would silently corrupt the tree

Bug fixes

  • delete_null_branches!: was calling the TreeNode-level delete_branches! instead of the Tree-level one, leaving stale entries in lnodes — nodes appeared deleted from the structure but were still visible via nodes(tree)

Documentation

  • Completed modifying_the_tree.md: delete, graft, insert, and rooting sections with doctests
  • Added delete_null_branches! section with regression doctest
  • Added diameter and distance_matrix to useful_functions.md

CI

  • Minimum Julia version lowered from 1.12 to 1.11 (actual minimum based on stdlib compat entries)
  • CI matrix now covers Julia 1.11, 1.12, and nightly (nightly allowed to fail)

Merged pull requests:

Closed issues:

  • Upgrade ResumableFunctions to v1 (#52)

v0.7.5

13 Jan 14:19
231c159

Choose a tag to compare

TreeTools v0.7.5

Diff since v0.7.4

v0.7.4

24 Oct 11:06

Choose a tag to compare

TreeTools v0.7.4

Diff since v0.7.3

v0.7.3

22 Mar 20:30
97f770c

Choose a tag to compare

TreeTools v0.7.3

Diff since v0.7.2

Merged pull requests:

  • fix root_like_model! in the case of models with a polytomy at root (#55) (@PierreBarrat)

v0.7.2

04 Dec 15:23
a72d1bf

Choose a tag to compare

TreeTools v0.7.2

Diff since v0.7.1

Merged pull requests:

v0.7.1

14 Nov 17:41
8713682

Choose a tag to compare

TreeTools v0.7.1

Diff since v0.7.0

v0.7.0

04 Nov 16:10
1a55a49

Choose a tag to compare

TreeTools v0.7.0

Diff since v0.6.14

Merged pull requests:

v0.6.14

27 Oct 09:14
2fb33ac

Choose a tag to compare

TreeTools v0.6.14

Diff since v0.6.13

v0.6.13

27 Jun 14:29
9c6aaaf

Choose a tag to compare

TreeTools v0.6.13

Diff since v0.6.12

v0.6.12

23 May 09:43
89581fb

Choose a tag to compare

TreeTools v0.6.12

Diff since v0.6.11

Merged pull requests: