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
205 stars 63 forks source link

Provide public interface for `_convert_node_to_root_polytomy` #169

Open mmore500 opened 1 year ago

mmore500 commented 1 year ago

This logic is only accessible via "private" i.e., _* access. Should it be made public? Probably.

Outside packages are depending on it (https://github.com/smirarab/sepp/issues/125).

mmore500 commented 3 months ago

Hi @simeonborko @smirarab --- would this API suit your use case?

https://github.com/jeetsukumaran/DendroPy/pull/194/files#diff-cd53d4c98adf0e3721dbe0f749ecf5dca68face2ed93a651633e079b27e4f43cR2376