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

    r9271 r9546  
    2020 
    2121        self.inputs = [("Data", ExampleTable, self.setData)] 
    22         self.outputs = [("Sample", ExampleTable), ("Remaining Examples", ExampleTable)] 
     22        self.outputs = [("Data Sample", ExampleTable), ("Remaining Data", ExampleTable)] 
    2323 
    2424        # initialization of variables 
     
    183183            self.infob.setText('') 
    184184            self.infoc.setText('') 
    185             self.send("Sample", None) 
    186             self.send("Remaining Examples", None) 
     185            self.send("Data Sample", None) 
     186            self.send("Remaining Data", None) 
    187187            self.data = None 
    188188 
     
    218218        self.nSample = len(sample) 
    219219        self.nRemainder = len(remainder) if remainder is not None else 0 
    220         self.send("Sample", sample) 
    221         self.send("Remaining Examples", remainder) 
     220        self.send("Data Sample", sample) 
     221        self.send("Remaining Data", remainder) 
    222222         
    223223        self.sampleButton.setEnabled(False) 
Note: See TracChangeset for help on using the changeset viewer.