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

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

src/c/g/CGAT-0.2.0/CGAT/Tree.py   CGAT(Download)
            else:
                raise TreeError, 'Unable to connect nodes for rooting: nodes %d and %d are not connected' % (parent,child)
            self.link(parent,child)
            self.node(child).data.branchlength=branch[2]
            self.node(child).data.support=branch[3]

src/c/g/cgat-HEAD/CGAT/Tree.py   cgat(Download)
                raise TreeError, 'Unable to connect nodes for rooting: nodes %d and %d are not connected' % (
                    parent, child)
            self.link(parent, child)
            self.node(child).data.branchlength = branch[2]
            self.node(child).data.support = branch[3]