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/OWCN2RulesViewer.py

    r8899 r9546  
    204204        OWWidget.__init__(self, parent, signalManager, name) 
    205205        self.inputs = [("Rule Classifier", orange.RuleClassifier, self.setRuleClassifier)] 
    206         self.outputs = [("Examples", ExampleTable), ("Attribute List", AttributeList)] 
     206        self.outputs = [("Data", ExampleTable), ("Features", AttributeList)] 
    207207         
    208208        self.show_Rule_length = True 
     
    393393                selectedExamples = orange.ExampleTable(selectedExamples) 
    394394                 
    395             self.send("Examples", selectedExamples) 
    396             self.send("Attribute List", orange.VarList(list(selectedAttrs))) 
    397          
    398         else: 
    399             self.send("Examples", None) 
    400             self.send("Attribute List", None) 
     395            self.send("Data", selectedExamples) 
     396            self.send("Features", orange.VarList(list(selectedAttrs))) 
     397         
     398        else: 
     399            self.send("Data", None) 
     400            self.send("Features", None) 
    401401         
    402402        self.changedFlag = False 
Note: See TracChangeset for help on using the changeset viewer.