Changeset 7955:e4d3f799b01b in orange


Ignore:
Timestamp:
05/27/11 14:31:47 (3 years ago)
Author:
miha <miha.stajdohar@…>
Branch:
default
Convert:
8caff5ab777ce81245091ee3d556c67e2926a383
Message:

Minor bug fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/OWNetworkHist.py

    r7121 r7955  
    170170             
    171171            if hasattr(self.matrix, "items"):                
    172                 if type(self.matrix.items) == type(orange.ExampleTable(orange.Domain(orange.StringVariable('tmp')))): 
     172                if type(self.matrix.items) == orange.ExampleTable: 
    173173                    #graph.setattr("items", self.data.items) 
    174174                    graph.items = self.matrix.items 
     
    262262         
    263263        if matrix != None: 
    264             self.matrix = matrix 
     264            matrix.items  = self.graph.items 
     265            self.graph_matrix = matrix 
    265266             
    266267        self.pconnected = nedges 
Note: See TracChangeset for help on using the changeset viewer.