def set_goterm(self, go2obj):
        """Set goterm and copy GOTerm's name and namespace."""
        if self.GO in go2obj:
            goterm = go2obj[self.GO]
            self.goterm = goterm
            self.name = goterm.name
            self.depth = goterm.depth
            self.NS = self.namespace2NS[self.goterm.namespace]
Set goterm and copy GOTerm's name and namespace.