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

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

src/a/i/AIGO-0.1.0/AIGO/FunctionalAnnotation.py   AIGO(Download)
                for go in self.GPtoGO[aspect][gp]:
                    if not gp in self.GOtoGP[aspect][go]:
                        logger.handleWarning ("%s not found in GOtoGP[%s][%s]" % (gp,aspect,go))
                        valid=False
 
            for go in self.GOtoGP[aspect]:
                for gp in self.GOtoGP[aspect][go]:
                    if not go in self.GPtoGO[aspect][gp]:
                        logger.handleWarning ("%s not found in GPtoGO[%s][%s]" % (go,aspect,gp))

src/a/i/AIGO-0.1.0/AIGO/gui/project.py   AIGO(Download)
 
        except Exception, e:
            logger.handleWarning("Unable to load project %s: %s" % (fileName, str(e)))
 
 
 
        except  Exception, e:
            logger.handleWarning("Unable to save project %s: %s" % (fileName, str(e)))
 
 

src/a/i/AIGO-0.1.0/AIGO/IO.py   AIGO(Download)
 
        if not hasRef is None and not hasRef.has_key(g):
            logger.handleWarning("gene product %s is not in the reference set, skip it " % g)
            continue
 
 
            if not aspect:
                logger.handleWarning("%s: term %s is not in GO graph, skip it " % (g, term))
                continue
 
 
        if not hasRef is None and not hasRef.has_key(g):
            logger.handleWarning("gene product %s is not in the reference set, skip it " % g)
            continue
 
 
            if not aspect:
                logger.handleWarning("%s: term %s is not in GO graph, skip it " % (g, term))
                continue
 
 
        if not aspect:
            logger.handleWarning("term %s is not in GO graph, skip it " % (term))
            continue
 

src/a/i/AIGO-0.1.0/AIGO/Plot.py   AIGO(Download)
    def add(self, statistics, plotType):
        logger.info("Registering plot function %s" % statistics)
 
        if not rS.isRegistered(statistics):
            logger.handleWarning("Caution, the statistics is unknown : %s" % statistics)
            setattr(self.cls, "%sHisto3D" % newPlotFunc.__name__, newPlotFunc)
        else:
            logger.handleWarning("Caution, the statistics plot type is unknown : %s" % plotType)
            pass
 

src/a/i/AIGO-0.1.0/AIGO/ReferenceSet.py   AIGO(Download)
 
            if len(self)==0:
                logger.handleWarning("No gene products loaded")
 
        except Exception, e:

src/a/i/AIGO-0.1.0/AIGO/Similarity.py   AIGO(Download)
            allD=[ G.Resnik(G.GOtoInt([g1]), G.GOtoInt([g2]), kargs.get('IC', dict()))[0] for i,g1 in enumerate(GO) for j,g2 in enumerate(GO) if i <j ]
        else:
            logger.handleWarning ("Sorry, unknown semnatic similarity %s " % metric)
            allD=None
 
        sim,l = G.Resnik(G.GOtoInt(GO1), G.GOtoInt(GO2), kargs.get('IC', dict()))
    else:
        logger.handleWarning ("Sorry, unknown semnatic similarity %s " % metric)
        sim,l=None,None
 
 
        else:
            logger.handleWarning ("Sorry, unknown semnatic similarity %s " % metric)
            sim,l=None,None