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

    r8155 r9546  
    2424        OWNetworkHist.__init__(self) 
    2525         
    26         self.inputs = [("Distance Matrix", orange.SymMatrix, self.setMatrix)] 
    27         self.outputs = [("Network", orngNetwork.Network), ("Examples", ExampleTable), ("Distance Matrix", orange.SymMatrix)] 
     26        self.inputs = [("Distances", orange.SymMatrix, self.setMatrix)] 
     27        self.outputs = [("Network", orngNetwork.Network), ("Data", ExampleTable), ("Distances", orange.SymMatrix)] 
    2828 
    2929        self.addHistogramControls() 
     
    7272         
    7373        if self.matrix: 
    74             self.send("Distance Matrix", self.matrix) 
     74            self.send("Distances", self.matrix) 
    7575             
    7676        if self.graph == None: 
    77             self.send("Examples", None) 
     77            self.send("Data", None) 
    7878        else: 
    79             self.send("Examples", self.graph.items) 
     79            self.send("Data", self.graph.items) 
    8080                                                                      
    8181if __name__ == "__main__":     
Note: See TracChangeset for help on using the changeset viewer.