Changeset 1654:61fbdcb67aab in orange-bioinformatics for _bioinformatics/widgets/OWVulcanoPlot.py


Ignore:
Timestamp:
05/21/12 10:25:29 (2 years ago)
Author:
mitar
Branch:
default
Children:
1655:9d3ae06d69be, 1657:edc96b23f6ef
Parents:
1653:508c7aa2e03c (diff), 1622:3d2f34a594e5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Tags:
2.5a1
Message:

Merge.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _bioinformatics/widgets/OWVulcanoPlot.py

    r1636 r1654  
    198198    def clear(self): 
    199199        self.labels_combo.clear() 
    200 #        self.values_view.clear() 
    201200        self._values_model[:] = [] 
    202201        self.labels = [] 
     
    274273        """ 
    275274        i = self.labels_combo.currentIndex() 
     275 
     276        if i == -1: 
     277            # When clearing the labels model / combobox 
     278            return None, None 
     279 
    276280        label, all_values = self.labels[i] 
    277281        values = [all_values[i] for i in self.selection_indexes()] 
Note: See TracChangeset for help on using the changeset viewer.