Changeset 1611:3b33933bd2c7 in orange-bioinformatics for widgets/OWGenotypeDistances.py


Ignore:
Timestamp:
04/10/12 20:15:55 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Children:
1612:6935f946a4f6, 1623:186d828e3699
Message:

Fixed progress_bar_milestones import.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • widgets/OWGenotypeDistances.py

    r1573 r1611  
    445445            profiles = [linearize(data, indices) for _, indices in partitions] 
    446446            dist_func = self.DISTANCE_FUNCTIONS[self.distance_measure][1] 
    447             from Orange.misc import progressBarMilestones 
     447            from Orange.utils import progress_bar_milestones 
    448448            count = (len(profiles) * len(profiles) - 1) / 2 
    449             milestones = progressBarMilestones(count) 
     449            milestones = progress_bar_milestones(count) 
    450450            iter_count = 0 
    451451            for i in range(len(profiles)): 
Note: See TracChangeset for help on using the changeset viewer.