e25820e17e9aad85d4fadade73e94c68b67f9b7a,ilastik/shell/gui/ilastikShell.py,ProgressDisplayManager,handleAppletProgressImpl,#ProgressDisplayManager#Any#Any#Any#,89
Before Change
// If this appears to be the first progress signal for the applet and it"s already 100,
// it is really a duplicate 100% update. Ignore it.
// (100% progress is not a valid starting value.)
if not (index not in self.appletPercentages and percentage == 100):
self.appletPercentages[index] = percentage
numActive = len(self.appletPercentages)
After Change
else:
// Take max (never go back down)
if index in self.appletPercentages:
oldPercentage = self.appletPercentages[index]
self.appletPercentages[index] = max(percentage, oldPercentage)
// First percentage we get MUST be zero.
// Other notifications are ignored.
if index in self.appletPercentages or percentage == 0:
self.appletPercentages[index] = percentage
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: ilastik/ilastik
Commit Name: e25820e17e9aad85d4fadade73e94c68b67f9b7a
Time: 2012-07-30
Author: bergs@janelia.hhmi.org
File Name: ilastik/shell/gui/ilastikShell.py
Class Name: ProgressDisplayManager
Method Name: handleAppletProgressImpl
Project Name: scipy/scipy
Commit Name: ef7707947b85d141e955e844ec1800df9eddb5c2
Time: 2018-12-26
Author: ilhanpolat@gmail.com
File Name: scipy/linalg/blas.py
Class Name:
Method Name: find_best_blas_type
Project Name: aleju/imgaug
Commit Name: cf9fcac0f251a83b0bb800bea15053c6f9fa18bf
Time: 2018-12-24
Author: alexander.jung@zenuity.com
File Name: imgaug/augmenters/geometric.py
Class Name: Affine
Method Name: _augment_images_by_samples