Releases: niemasd/TreeSwift
Releases · niemasd/TreeSwift
TreeSwift v1.1.25
- Updated documentation of
read_tree_nexus
function based on updated functionality
TreeSwift v1.1.24
- Fixed bug when reading Nexus files that have information on the left side of the
=
of a tree- Example:
tree STATE_0 [...] = [&R] (...);
- BEAST seems to output trees in this format
- Now, if a Nexus tree is loaded into a variable
trees
, the information in the[...]
block to the left of the=
will be stored intrees['info']
- Example:
TreeSwift v1.1.23
- Fixed bug in which a comma would be added to the end of translated taxon labels in Nexus files
- Thanks for catching that, @pekarj!
TreeSwift v1.1.22
- Fixed reading taxon labels and translations when reading Nexus trees
- Thanks for catching that, @pekarj!
TreeSwift v1.1.21
- Fixed bug when reading a Newick (or Nexus) with edge parameters
- Example: A node with label
447[blahblahblah]
is now correctly read such thatnode.label == '447'
andnode.edge_params == 'blahblahblah'
- Thanks for catching that, @pekarj!
- Example: A node with label
TreeSwift v1.1.20
- Fixed bug when computing average branch length of a tree with leaves without branch lengths (thanks, @richardmansfield!)
TreeSwift v1.1.19
- Fixed default behavior of
contract_low_support
to not contract leaves
TreeSwift v1.1.18
- Simplified
contract_low_support
fix
TreeSwift v1.1.17
- Fixed bug in
traverse_rootdistorder
when node doesn't have branch length - Fixed bug in
contract_low_support
when leaf nodes also have numeric labels - Fixed bug in
diameter
to support one-node trees and to support trees with unifurcations
TreeSwift v1.1.16
- Fixed bug printing Newick string of tree without root edge length