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

    r8042 r9546  
    1919        OWWidget.__init__(self, parent, signalManager, name, wantMainArea = 0, resizingEnabled = 0) 
    2020         
    21         self.inputs = [("Distance Matrix", orange.SymMatrix, self.setSymMatrix, Default), ("Example Subset", ExampleTable, self.setExampleSubset)] 
    22         self.outputs = [("Distance Matrix", orange.SymMatrix)] 
     21        self.inputs = [("Distances", orange.SymMatrix, self.setSymMatrix, Default), ("Data Subset", ExampleTable, self.setExampleSubset)] 
     22        self.outputs = [("Distances", orange.SymMatrix)] 
    2323         
    2424        self.matrix = None 
     
    6464                self.subsetAttrCombo.addItem(self.icons[var.varType], unicode(var.name)) 
    6565         
    66         self.send("Distance Matrix", self.matrix) 
     66        self.send("Distances", self.matrix) 
    6767         
    6868    def filter(self): 
     
    8484            matrix.items = self.matrix.items.getitems(nodes) 
    8585                     
    86             self.send("Distance Matrix", matrix) 
     86            self.send("Distances", matrix) 
    8787 
    8888if __name__=="__main__": 
Note: See TracChangeset for help on using the changeset viewer.