示例#1
0
文件: tree.py 项目: wdobbels/CAAPR
    def copy(self, g):
        """ Copy the contents to the destination g
        :param g: the GTreeNode genome destination
        """

        GTreeNodeBase.copy(self, g)
        g.node_data = self.node_data
示例#2
0
    def copy(self, g):

        """ Copy the contents to the destination g
        :param g: the GTreeNode genome destination
        """

        GTreeNodeBase.copy(self, g)
        g.node_data = self.node_data
示例#3
0
文件: tree.py 项目: wdobbels/CAAPR
    def __repr__(self):

        str_repr = GTreeNodeBase.__repr__(self)
        str_repr += " - [%s]" % self.node_data
        return str_repr
示例#4
0
    def __repr__(self):

        str_repr = GTreeNodeBase.__repr__(self)
        str_repr += " - [%s]" % self.node_data
        return str_repr