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

    r9527 r9546  
    4141        OWWidget.__init__(self, parent, signalManager, name, wantMainArea = 0) 
    4242 
    43         self.inputs = [("Examples", ExampleTable, self.setData)] 
    44         self.outputs = [("Examples", ExampleTable), ("Preprocessor", PreprocessedLearner)] 
     43        self.inputs = [("Data", ExampleTable, self.setData)] 
     44        self.outputs = [("Data", ExampleTable), ("Preprocessor", PreprocessedLearner)] 
    4545 
    4646        self.multinomialTreatment = 0 
     
    100100            self.cbTargetValue.clear() 
    101101            self.openContext("", self.data) 
    102             self.send("Examples", None) 
     102            self.send("Data", None) 
    103103        else: 
    104104            if not self.data or data.domain.classVar != self.data.domain.classVar: 
     
    150150                domain = continuizer(self.data, 0) 
    151151            domain.addmetas(self.data.domain.getmetas()) 
    152             self.send("Examples", orange.ExampleTable(domain, self.data)) 
     152            self.send("Data", orange.ExampleTable(domain, self.data)) 
    153153        self.dataChanged = False 
    154154         
Note: See TracChangeset for help on using the changeset viewer.