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/Unsupervised/OWMDS.py

    r9066 r9546  
    3737    def __init__(self, parent=None, signalManager=None, name="Multi Dimensional Scaling"): 
    3838        OWWidget.__init__(self, parent, signalManager, name, wantGraph=True) 
    39         self.inputs=[("Distances", orange.SymMatrix, self.cmatrix), ("Example Subset", ExampleTable, self.cselected)] 
    40         self.outputs=[("Example Table", ExampleTable), ("Structured Data Files", DataFiles)] 
     39        self.inputs=[("Distances", orange.SymMatrix, self.cmatrix), ("Data Subset", ExampleTable, self.cselected)] 
     40        self.outputs=[("Data", ExampleTable), ("Structured Data Files", DataFiles)] 
    4141 
    4242        self.StressFunc=3 
     
    484484    def sendExampleTable(self, selectedInd): 
    485485        if self.selectionOptions==0: 
    486             self.send("Example Table", orange.ExampleTable(self.data.getitems(selectedInd))) 
     486            self.send("Data", orange.ExampleTable(self.data.getitems(selectedInd))) 
    487487        else: 
    488488            xAttr=orange.FloatVariable("X") 
     
    500500                selection[i][xAttr]=self.mds.points[selectedInd[i]][0] 
    501501                selection[i][yAttr]=self.mds.points[selectedInd[i]][1] 
    502             self.send("Example Table", selection) 
     502            self.send("Data", selection) 
    503503 
    504504    def sendList(self, selectedInd): 
     
    523523                        selection[i][xAttr]=self.mds.points[selectedInd[i]][0] 
    524524                        selection[i][yAttr]=self.mds.points[selectedInd[i]][1] 
    525             self.send("Example Table", selection) 
     525            self.send("Data", selection) 
    526526            return 
    527527                
Note: See TracChangeset for help on using the changeset viewer.