Treeswift

Latest version: v1.1.45

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 8

1.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 that `node.label == '447'` and `node.edge_params == 'blahblahblah'`
* Thanks for catching that, pekarj!

1.1.20

* Fixed bug when computing average branch length of a tree with leaves without branch lengths (thanks, richardmansfield!)

1.1.19

* Fixed default behavior of `contract_low_support` to not contract leaves

1.1.18

* Simplified `contract_low_support` fix

1.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

1.1.16

* Fixed bug printing Newick string of tree without root edge length

Page 5 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.