Ticket #1336 (closed bug: fixed)

Opened 10 months ago

Last modified 10 months ago

Heatmap crash when selecting examples

Reported by: blaz Owned by: marko
Milestone: 2.6 Component: library
Severity: minor Keywords:
Cc: Blocking:
Blocked By:

Description

Heatmap crashes when selecting examples from clustered, row-merged visualization. It crashes when the examples are selected from the very end of heatmap.

KeyError                                      Traceback (most recent call last):
  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/orangecontrib/bio/widgets/OWHeatMap.py", line 1570, in mouseMoveEvent
    self.selection_manager.selection_update(heatmap, event)
  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/orangecontrib/bio/widgets/OWHeatMap.py", line 1895, in selection_update
    self.select_rows(self.combined_ranges(self.selection_ranges))
  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/orangecontrib/bio/widgets/OWHeatMap.py", line 1844, in select_rows
    self.update_selection_rects()
  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/orangecontrib/bio/widgets/OWHeatMap.py", line 1973, in update_selection_rects
    for start, end, heatmaps in group_selections(self.selections):
  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/orangecontrib/bio/widgets/OWHeatMap.py", line 1953, in group_selections
    new_end_heatmaps = rows2hm[new_end]
KeyError: 224

Change History

comment:1 Changed 10 months ago by markotoplak

  • Status changed from new to closed
  • Resolution set to fixed

In [ce804448cf390e4f14321018ff1b774aaf8a6a6f/orange-bioinformatics]:

Fixed selection of the cell borders in OWHeatMap. Fixes #1336

Note: See TracTickets for help on using tickets.