Changeset 9053:80d40c014fc8 in orange


Ignore:
Timestamp:
10/04/11 12:13:38 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
e5047bcd363dabdc192e746365ec1647b9880fb8
Message:

A workaround for a problem with progressCallback name mangling for orangeom.MDS.

File:
1 edited

Legend:

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

    r9051 r9053  
    424424        self.iterNum=0 
    425425        self.mds.progressCallback=self.callback 
     426        # The name mangling for orange2.5 does not seem to work for orangeom.MDS 
     427        # so I set this explicitly   
     428        self.mds.progress_callback=self.callback 
     429         
    426430        self.mds.mds.optimize(self.maxIterations, self.stressFunc[self.StressFunc][1], self.minStressDelta) 
    427431        if self.iterNum%(math.pow(10,self.RefreshMode)): 
Note: See TracChangeset for help on using the changeset viewer.