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/Prototypes/OWDataDomainMk2.py

    r9254 r9546  
    284284        OWWidget.__init__(self, parent, signalManager, name, wantMainArea=False) 
    285285         
    286         self.inputs = [("Examples", ExampleTable, self.set_data)] 
    287         self.outputs = [("Examples", ExampleTable), ("Attribute List", AttributeList)] 
     286        self.inputs = [("Data", ExampleTable, self.set_data)] 
     287        self.outputs = [("Data", ExampleTable), ("Features", AttributeList)] 
    288288         
    289289        self.domain_role_hints = {} 
     
    632632            self.output_report = self.prepareDataReport(newdata) 
    633633            self.output_domain = domain 
    634             self.send("Examples", newdata) 
    635             self.send("Attribute List", orange.VarList(attributes)) 
     634            self.send("Data", newdata) 
     635            self.send("Features", orange.VarList(attributes)) 
    636636        else: 
    637637            self.output_report = [] 
    638             self.send("Examples", None) 
    639             self.send("Attribute List", None) 
     638            self.send("Data", None) 
     639            self.send("Features", None) 
    640640     
    641641    def reset(self): 
Note: See TracChangeset for help on using the changeset viewer.