Commits

Marko Toplak committed 639f70d

Temporary fix in Select Genes.

Comments (0)

Files changed (2)

orangecontrib/bio/widgets/OWSelectGenes.py

             backmap = dict((info.symbol, name) for name, info in self.genes
                            if info is not None)
             names = set([name for name, _ in self.genes])
-            selection = [backmap.get(name, name) for name in selection
-                         and name not in names]
-
+            selection = [backmap.get(name, name) for name in selection]
+    
         if self.geneVar is not None:
             data = select_by_genes(self.data, self.geneVar,
                                    gene_list=selection,
 NAME = 'Orange-Bioinformatics'
 DOCUMENTATION_NAME = 'Orange Bioinformatics'
 
-VERSION = '2.5.21'
+VERSION = '2.5.22'
 
 DESCRIPTION = 'Orange Bioinformatics add-on for Orange data mining software package.'
 LONG_DESCRIPTION = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()