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