Ejemplo n.º 1
0
 def count_terminals(self):
     """Counts the number of terminal (leaf) nodes within this tree."""
     return _sugar.iterlen(self.find_clades(terminal=True))
Ejemplo n.º 2
0
 def count_terminals(self):
     """Counts the number of terminal (leaf) nodes within this tree."""
     return _sugar.iterlen(self.find_clades(terminal=True))