def attach_to_tree(self):
for clade in self.tree.find_clades():<EOL><INDENT>if clade.up is not None:<EOL><INDENT>clade.branch_length_interpolator.merger_cost = self.cost<EOL><DEDENT><DEDENT>
attaches the the merger cost to each branch length interpolator in the tree.