Changeset 1367:66cf5ac7e501 in orange-bioinformatics


Ignore:
Timestamp:
04/11/11 11:25:14 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
528c14eed149e32276b35bf4e337ff165a9a389b
Message:

Changed the order of distance measures shown in the combo box. Pearson correlation is the first and the default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • widgets/prototypes/OWGenotypeDistances.py

    r1366 r1367  
    144144    settingsList = [] 
    145145     
    146     DISTANCE_FUNCTIONS = [("Euclidean distance", dist_eucl), 
    147                           ("Pearson correlation", dist_pcorr)] 
     146    DISTANCE_FUNCTIONS = [("Pearson correlation", dist_pcorr), 
     147                          ("Euclidean distance", dist_eucl)] 
    148148     
    149149    def __init__(self, parent=None, signalManager=None, title="Genotype Distances"): 
     
    153153        self.outputs = [("Distances", Orange.core.SymMatrix)] 
    154154         
    155         self.distance_measure = 1 
     155        self.distance_measure = 0 
    156156        self.auto_commit = False 
    157157        self.changed_flag = False 
Note: See TracChangeset for help on using the changeset viewer.