jeetsukumaran / DendroPy

A Python library for phylogenetic scripting, simulation, data processing and manipulation.
https://pypi.org/project/DendroPy/.
BSD 3-Clause "New" or "Revised" License
210 stars 61 forks source link

Corrected step number calculation for unrooted trees #151

Closed SynedraAcus closed 1 year ago

SynedraAcus commented 1 year ago

I have fixed an issue where number of steps between taxa in unrooted tree is off by one when path crosses the root. Only affects calculations if tree.is_rooted and works as previously otherwise.