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
def __repr__(self): str_repr = GTreeNodeBase.__repr__(self) str_repr += " - [%s]" % self.node_data return str_repr