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

    r8156 r9546  
    3030        OWNxHist.__init__(self) 
    3131         
    32         self.inputs = [("Distance Matrix", Orange.core.SymMatrix, self.setMatrix)] 
     32        self.inputs = [("Distances", Orange.core.SymMatrix, self.setMatrix)] 
    3333        self.outputs = [("Network", Orange.network.Graph),  
    34                         ("Examples", Orange.data.Table),  
    35                         ("Distance Matrix", Orange.core.SymMatrix)] 
     34                        ("Data", Orange.data.Table),  
     35                        ("Distances", Orange.core.SymMatrix)] 
    3636 
    3737        self.addHistogramControls() 
     
    8686         
    8787        if self.matrix: 
    88             self.send("Distance Matrix", self.matrix) 
     88            self.send("Distances", self.matrix) 
    8989             
    9090        if self.graph == None: 
    91             self.send("Examples", None) 
     91            self.send("Data", None) 
    9292        else: 
    93             self.send("Examples", self.graph.items()) 
     93            self.send("Data", self.graph.items()) 
    9494                                                                      
    9595if __name__ == "__main__":     
Note: See TracChangeset for help on using the changeset viewer.