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/Data/OWDataDomain.py

    r9271 r9546  
    285285        OWWidget.__init__(self, parent, signalManager, name, wantMainArea=False) 
    286286         
    287         self.inputs = [("Examples", ExampleTable, self.set_data)] 
    288         self.outputs = [("Examples", ExampleTable), ("Attribute List", AttributeList)] 
     287        self.inputs = [("Data", ExampleTable, self.set_data)] 
     288        self.outputs = [("Data", ExampleTable), ("Features", AttributeList)] 
    289289         
    290290        self.domain_role_hints = {} 
     
    634634            self.output_report = self.prepareDataReport(newdata) 
    635635            self.output_domain = domain 
    636             self.send("Examples", newdata) 
    637             self.send("Attribute List", orange.VarList(attributes)) 
     636            self.send("Data", newdata) 
     637            self.send("Features", orange.VarList(attributes)) 
    638638        else: 
    639639            self.output_report = [] 
    640             self.send("Examples", None) 
    641             self.send("Attribute List", None) 
     640            self.send("Data", None) 
     641            self.send("Features", None) 
    642642     
    643643    def reset(self): 
Note: See TracChangeset for help on using the changeset viewer.