31aec5524d2c49483da90eedb783ed08529cda5d,cellprofiler/modules/makeprojection.py,MakeProjection,prepare_group,#MakeProjection#Any#Any#Any#,143

Before Change


    def prepare_group(self, workspace, grouping, image_numbers):
        """Reset the aggregate image at the start of group processing"""
        if len(image_numbers) > 0:
            d = self.get_dictionary()
            if d.has_key(K_PROVIDER):
                provider = d[K_PROVIDER]
                provider.reset()
            else:
                provider = ImageProvider(self.projection_image_name.value,
                                         self.projection_type.value,

After Change


            provider = ImageProvider(self.projection_image_name.value,
                                     self.projection_type.value,
                                     self.frequency.value)
            provider.save_state(self.get_dictionary())
        return True
    
    def run(self, workspace):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: CellProfiler/CellProfiler
Commit Name: 31aec5524d2c49483da90eedb783ed08529cda5d
Time: 2012-06-20
Author: leek@broadinstitute.org
File Name: cellprofiler/modules/makeprojection.py
Class Name: MakeProjection
Method Name: prepare_group


Project Name: CellProfiler/CellProfiler
Commit Name: 98bbe719fa12ddc2e482162caa9494ec793da52a
Time: 2010-03-09
Author: afraser@1fc53939-2000-0410-845c-e8453a809027
File Name: cellprofiler/modules/saveimages.py
Class Name: SaveImages
Method Name: prepare_group


Project Name: CellProfiler/CellProfiler
Commit Name: 31aec5524d2c49483da90eedb783ed08529cda5d
Time: 2012-06-20
Author: leek@broadinstitute.org
File Name: cellprofiler/modules/makeprojection.py
Class Name: MakeProjection
Method Name: run