pasteur.hierarchy.prune_tree# pasteur.hierarchy.prune_tree(tree)[source]# Replaces all nodes in the tree where len(node) == 1 with their children.