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

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

src/m/g/mgtaxa-HEAD/MGT/ParamScanTestApp.py   mgtaxa(Download)
    def predict(self,**kw):
        from MGT.Taxa import loadTaxaTree
        opt = self.opt
        prOpt = opt.prOpt
        store = self.store
        for id,lab in zip(pred.idPred["id"],pred.labPred[0]):
            idToName[id] = labToName[lab]
        taxaTree = loadTaxaTree()
        idToLin = {}
        for id,labn in idToName.items():