Ignore:
Timestamp:
01/18/12 10:56:15 (2 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
a367b01157310c282e7919193d767127e7829e26
Message:

Renamed widget channel names in line with the new naming rules/convention.
Added backwards compatibility in orngDoc loadDocument to enable loading of schemas saved before the change.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Classify/OWClassificationTreeViewer.py

    r9272 r9546  
    4747 
    4848        self.inputs = [("Classification Tree", orange.TreeClassifier, self.setClassificationTree)] 
    49         self.outputs = [("Examples", ExampleTable)] 
     49        self.outputs = [("Data", ExampleTable)] 
    5050 
    5151        # Settings 
     
    276276        if self.tree and item: 
    277277            data = self.nodeClassDict[item].examples 
    278             self.send("Examples", data) 
     278            self.send("Data", data) 
    279279 
    280280            tx = "" 
     
    297297                self.rule.setText("%(className)s = %(classLabel)s" % vars()) 
    298298        else: 
    299             self.send("Examples", None) 
     299            self.send("Data", None) 
    300300            self.rule.setText("") 
    301301 
Note: See TracChangeset for help on using the changeset viewer.