コード例 #1
0
ファイル: BaseTree.py プロジェクト: xbello/biopython
 def count_terminals(self):
     """Counts the number of terminal (leaf) nodes within this tree."""
     return _utils.iterlen(self.find_clades(terminal=True))
コード例 #2
0
ファイル: BaseTree.py プロジェクト: gavieira/mitomaker
 def count_terminals(self):
     """Counts the number of terminal (leaf) nodes within this tree."""
     return _utils.iterlen(self.find_clades(terminal=True))