Changeset 1860:504bc511801c in orange-bioinformatics for _bioinformatics/widgets/OWSetEnrichment.py


Ignore:
Timestamp:
10/08/13 16:44:31 (6 months ago)
Author:
markotoplak
Branch:
default
Message:

obiGeneSets.collections raises an exception if gene sets are not found. Temporarily disabled gene sets without species in Gene Set Enrichment widget.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _bioinformatics/widgets/OWSetEnrichment.py

    r1827 r1860  
    266266                collect(col[hier[0]], hier[1:]) 
    267267 
     268        print "GS", self.genesets 
     269 
    268270        for hierarchy, t_id, _ in self.genesets: 
    269271            collect(collection[t_id], hierarchy) 
    270272 
    271         #add genesets without species identifiers 
    272         collection[taxid].update(collection[None]) 
     273        #TODO add genesets without species identifiers 
     274 
    273275        return collection[taxid] 
    274276 
     
    410412 
    411413        ## Load collections in a worker thread 
     414        print "CAT", categories 
    412415        call = self.asyncCall(obiGeneSets.collections, categories, name="Loading collections", blocking=True, thread=self.thread()) 
    413416        call.connect(call, SIGNAL("progressChanged(float)"), self.progressBarSet) 
Note: See TracChangeset for help on using the changeset viewer.