Making a tree out of a 2 column list

Sebastian Bassi sbassi at clubdelarazon.org
Sun Apr 15 16:06:31 EDT 2007


On 4/15/07, Peter Otten <__peter__ at web.de> wrote:
> Depending on your input data you may need to add some cycle detection.
> For example, try it with
> tree_path(1, {1:[2], 2:[1]}, [])

I guess this should make the program enter into a endless loop. But
the data won't have such a redundancy, because it was taken from a
philogenetic tree.

Best,
SB.



More information about the Python-list mailing list