Changeset 1064:cccc2cbcdf33 in orange-bioinformatics


Ignore:
Timestamp:
02/10/10 19:38:23 (3 years ago)
Author:
markotoplak
Branch:
default
Convert:
64a58deae5262f3588035188014bda98b62fb6e2
Message:

obiGO: added the usage of GMDicty along all gene matchers if the user is looking at dicty

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • obiGO.py

    r1025 r1064  
    491491        if not self.genematcher and self.taxid: 
    492492            import obiGene 
    493             self.genematcher = obiGene.matcher([obiGene.GMGO(self.taxid)] + ([obiGene.GMDicty()] if self.taxid == "352472"  else [])) 
     493            self.genematcher = obiGene.matcher([[obiGene.GMGO(self.taxid)] + ([obiGene.GMDicty()] if self.taxid == "352472"  else [])]) 
    494494        if self.genematcher: 
    495495            self.genematcher.set_targets(self.geneNames) 
  • widgets/OWGOEnrichmentAnalysis.py

    r1052 r1064  
    472472                if use: 
    473473                    try: 
    474                         matchers.append(matcher(taxid)) 
     474                        if taxid == "352472": 
     475                            matchers.append([matcher(taxid), obiGene.GMDicty()]) 
     476                        else: 
     477                            matchers.append(matcher(taxid)) 
    475478                    except Exception, ex: 
    476479                        print ex 
Note: See TracChangeset for help on using the changeset viewer.