0469b770bd9846510c5b4872424443d72d5baa73,pyCellProfiler/cellprofiler/modules/measureobjectintensity.py,MeasureObjectIntensity,prepare_settings,#MeasureObjectIntensity#Any#,198

Before Change


        //
        image_count = setting_values.index(cps.DO_NOT_USE)
        object_count = len(setting_values)-image_count -1
        while len(self.image_names) > image_count:
            self.remove_image_cb(self.image_keys[-1])
        while len(self.image_names) < image_count:
            self.add_image_cb()
        while len(self.object_names) > object_count:
            self.remove_cb(len(self.object_names)-1)

After Change


        del self.images[image_count:]
        while len(self.images) < image_count:
            self.add_image()
        del self.objects[object_count:]
        while len(self.objects) < object_count:
            self.add_object()

    def get_measurement_columns(self, pipeline):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: CellProfiler/CellProfiler
Commit Name: 0469b770bd9846510c5b4872424443d72d5baa73
Time: 2009-12-18
Author: thouis@1fc53939-2000-0410-845c-e8453a809027
File Name: pyCellProfiler/cellprofiler/modules/measureobjectintensity.py
Class Name: MeasureObjectIntensity
Method Name: prepare_settings


Project Name: automl/auto-sklearn
Commit Name: 68b022cb9d24eb4e9b8341887e8ff1c9f9fda405
Time: 2020-12-11
Author: 44504424+franchuterivera@users.noreply.github.com
File Name: test/test_pipeline/test_classification.py
Class Name: SimpleClassificationPipelineTest
Method Name: test_fit_instantiates_component


Project Name: CellProfiler/CellProfiler
Commit Name: 83b1986ffa5d040b1b220445c6bb93b4d18d2301
Time: 2009-10-29
Author: klmadden@1fc53939-2000-0410-845c-e8453a809027
File Name: pyCellProfiler/cellprofiler/modules/measureimagegranularity.py
Class Name: MeasureImageGranularity
Method Name: prepare_settings