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

    r9273 r9546  
    10041004    def __init__(self, parent=None, signalManager=None, name="SOM visualizer"): 
    10051005        OWWidget.__init__(self, parent, signalManager, name, wantGraph=True) 
    1006         self.inputs = [("SOMMap", orngSOM.SOMMap, self.setSomMap), ("Examples", ExampleTable, self.data)] 
    1007         self.outputs = [("Examples", ExampleTable)] 
     1006        self.inputs = [("SOM", orngSOM.SOMMap, self.setSomMap), ("Data", ExampleTable, self.data)] 
     1007        self.outputs = [("Data", ExampleTable)] 
    10081008         
    10091009        self.drawMode = 2 
     
    12401240        self.scene.setSom(None) 
    12411241        self.update() 
    1242         self.send("Examples", None) 
     1242        self.send("Data", None) 
    12431243         
    12441244    def invertSelection(self): 
     
    12711271                ex.extend(n.node.mappedExamples) 
    12721272        if len(ex): 
    1273             self.send("Examples",ex) 
    1274         else: 
    1275             self.send("Examples",None) 
     1273            self.send("Data",ex) 
     1274        else: 
     1275            self.send("Data",None) 
    12761276             
    12771277        self.selectionChanged = False 
Note: See TracChangeset for help on using the changeset viewer.