Ignore:
Timestamp:
03/12/12 17:57:02 (2 years ago)
Author:
Lan Zagar <lan.zagar@…>
Branch:
default
Children:
10500:be3ad5d2023c, 10541:90b19af8a3a5
Message:

Tentative fix for a bug (see #1137).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeWidgets/Unsupervised/OWNxFromDistances.py

    r9671 r10499  
    2424class OWNxFromDistances(OWWidget, OWNxHist): 
    2525    settingsList=["spinLowerThreshold", "spinUpperThreshold", "netOption",  
    26                   "dstWeight", "kNN", "andor", "excludeLimit"] 
     26                  "dstWeight", "kNN", "percentil", "andor", "excludeLimit"] 
    2727     
    2828    def __init__(self, parent=None, signalManager=None): 
     
    7979         
    8080    def sendSignals(self): 
    81         if self.graph != None: 
    82             #setattr(matrix, "items", self.graph.items) 
    83             self.matrix.items = self.graph.items() 
    84          
    8581        self.send("Network", self.graph) 
    86          
    87         if self.matrix: 
    88             self.send("Distances", self.matrix) 
    89              
     82        self.send("Distances", self.graph_matrix)     
    9083        if self.graph == None: 
    9184            self.send("Data", None) 
Note: See TracChangeset for help on using the changeset viewer.