def prune_short_branches(self):
self.logger("<STR_LIT>", <NUM_LIT:1>)<EOL>for node in self.tree.find_clades():<EOL><INDENT>if node.up is None or node.is_terminal():<EOL><INDENT>continue<EOL><DEDENT>if self.gtr.prob_t(node.up.cseq, node.cseq, <NUM_LIT:0.0>,<EOL>pattern_multiplicity=self.multiplicity) > <NUM_LIT:0.1>:<EOL><INDENT>node.up.clades = [k for k in node.up.clades if k != node] + node.clades<EOL>for clade in node.clades:<EOL><INDENT>clade.up = node.up<EOL><DEDENT><DEDENT><DEDENT>
If the branch length is less than the minimal value, remove the branch
from the tree. **Requires** ancestral sequence reconstruction