Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/c/g/CGAT-0.2.0/CGAT/Tree.py   CGAT(Download)
            raise TreeError, 'Isolated nodes in tree description: %s' % ','.join(oldroot)
        elif len(oldroot)==1:
            self.kill(oldroot[0])
        return self.root
 
            ## nod not change branch length
            prev=self.unlink(node_id)
            self.kill(node_id)
            if not prev==self.root and len(self.node(prev).succ)==1 \
                    and prev != keep_node:
            for s in succ:
                self.unlink(s)
                self.kill(s)
 
        if taxon: self.node(node_id).data.taxon = taxon

src/c/g/cgat-HEAD/CGAT/Tree.py   cgat(Download)
                oldroot)
        elif len(oldroot) == 1:
            self.kill(oldroot[0])
        return self.root
 
            # nod not change branch length
            prev = self.unlink(node_id)
            self.kill(node_id)
            if not prev == self.root and len(self.node(prev).succ) == 1 \
                    and prev != keep_node:
            for s in succ:
                self.unlink(s)
                self.kill(s)
 
        if taxon: