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
207 stars 62 forks source link

Fixing bug in contained_coalescent_tree function. #116

Closed joaks1 closed 5 years ago

joaks1 commented 5 years ago

Fixing bug in dendropy.model.coalescent.contained_coalescent_tree. default_pop_size was always being used for the root edge, even if a different value was specified via an attribute of the root edge. This commit fixes this by specifying the correct variable in the final call to coalesce_nodes.

jeetsukumaran commented 5 years ago

Thanks!