Changeset 8016:5cfb4aee20f3 in orange


Ignore:
Timestamp:
06/14/11 13:56:50 (3 years ago)
Author:
miha <miha.stajdohar@…>
Branch:
default
Convert:
42e016ab93266b92112fd95d7ce60fbf01af6aa6
Message:

Fixed a bug; mark hubs was using old getDegrees method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Unsupervised/OWNxExplorer.py

    r7969 r8016  
    10371037         
    10381038        self.networkCanvas.tooltipNeighbours = self.networkCanvas.selectionNeighbours = 0 
    1039         powers = vgraph.getDegrees() 
     1039        powers = vgraph.degree() 
     1040        powers = [powers[key] for key in sorted(powers.keys())] 
    10401041         
    10411042        if hubs == 4: # at least N connections 
Note: See TracChangeset for help on using the changeset viewer.