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

    r9344 r9546  
    163163        OWWidget.__init__(self, parent, signalManager, "Rank") 
    164164 
    165         self.inputs = [("Examples", ExampleTable, self.setData)] 
    166         self.outputs = [("Reduced Example Table", ExampleTable, Default + Single)] 
     165        self.inputs = [("Data", ExampleTable, self.setData)] 
     166        self.outputs = [("Reduced Data", ExampleTable, Default + Single)] 
    167167 
    168168        self.nDecimals = 3 
     
    779779        selected = self.selectedAttrs() 
    780780        if not self.data or not selected: 
    781             self.send("Reduced Example Table", None) 
     781            self.send("Reduced Data", None) 
    782782        else: 
    783783            domain = orange.Domain(selected, self.data.domain.classVar) 
    784784            domain.addmetas(self.data.domain.getmetas()) 
    785785            data = orange.ExampleTable(domain, self.data) 
    786             self.send("Reduced Example Table", data) 
     786            self.send("Reduced Data", data) 
    787787        self.dataChanged = False 
    788788         
Note: See TracChangeset for help on using the changeset viewer.