Skip to content

Commit

Permalink
Merge pull request biolab#1884 from VesnaT/fix_owpredictions
Browse files Browse the repository at this point in the history
[FIX] OWPredictions: Fix crash when opening report
(cherry picked from commit ae6e05a)
  • Loading branch information
lanzagar authored and astaric committed Jan 10, 2017
1 parent ef1791b commit d3e090b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Orange/widgets/evaluate/owpredictions.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ def merge_data_with_predictions():
text = self.infolabel.text().replace('\n', '<br>')
if self.show_probabilities and self.selected_classes:
text += '<br>Showing probabilities for: '
text += ', '. join([self.data.domain.class_var.values[i]
text += ', '. join([self.class_values[i]
for i in self.selected_classes])
self.report_paragraph('Info', text)
self.report_table("Data & Predictions", merge_data_with_predictions(),
Expand Down

0 comments on commit d3e090b

Please sign in to comment.