treetime/treeanc.py
def _branch_length_to_gtr(self, node):
        """
        Set branch lengths to either mutation lengths of given branch lengths.
        The assigend values are to be used in the following ML analysis.
        """
        if self.use_mutation_length:
            return max(ttconf.MIN_BRANCH_LENGTH*self.one_mutation, node.mutation_length)
        else:
            return max(ttconf.MIN_BRANCH_LENGTH*self.one_mutation, node.branch_length)
def _branch_length_to_gtr(self, node):
        """
        Set branch lengths to either mutation lengths of given branch lengths.
        The assigend values are to be used in the following ML analysis.
        """
        if self.use_mutation_length:
            return max(ttconf.MIN_BRANCH_LENGTH*self.one_mutation, node.mutation_length)
        else:
            return max(ttconf.MIN_BRANCH_LENGTH*self.one_mutation, node.branch_length)
def _branch_length_to_gtr ( self , node ) : if self . use_mutation_length : return max ( ttconf . MIN_BRANCH_LENGTH * self . one_mutation , node . mutation_length ) else : return max ( ttconf . MIN_BRANCH_LENGTH * self . one_mutation , node . branch_length )
Set branch lengths to either mutation lengths of given branch lengths.
        The assigend values are to be used in the following ML analysis.
Set branch lengths to either mutation lengths of given branch lengths . The assigend values are to be used in the following ML analysis .