6b1c96faa59efd953c89989845da15f0b9b81e20,cellprofiler/modules/measureimageareaoccupied.py,MeasureImageAreaOccupied,visible_settings,#MeasureImageAreaOccupied#,91

Before Change


        result = []
        for index, object in enumerate(self.objects):
            temp = object.visible_settings()
            if not object.should_save_image:
                temp.remove(object.image_name)
            result += temp
        result += [self.add_button]
        return result
    

After Change


        for op in self.operands:
            result += [op.spacer]
            result += [op.operand_choice]        
            result += ([op.operand_objects, op.should_save_image] if op.operand_choice == "Objects" else [op.binary_name])
            if op.should_save_image:
                result.append(op.image_name)
        result.append(self.add_operand_button)
        result.append(self.remover)
        return result
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: CellProfiler/CellProfiler
Commit Name: 6b1c96faa59efd953c89989845da15f0b9b81e20
Time: 2010-09-17
Author: klmadden@1fc53939-2000-0410-845c-e8453a809027
File Name: cellprofiler/modules/measureimageareaoccupied.py
Class Name: MeasureImageAreaOccupied
Method Name: visible_settings


Project Name: EducationalTestingService/skll
Commit Name: 40d4f354c4c9cd54d23f75ba410b94b4a3adbfee
Time: 2019-03-06
Author: jbiggs@ets.org
File Name: skll/data/writers.py
Class Name: ARFFWriter
Method Name: _write_header


Project Name: mil-tokyo/webdnn
Commit Name: 2571186c26968de784585bdabf0c0979e9608a85
Time: 2017-04-20
Author: y.kikura@gmail.com
File Name: src/graph_builder/optimizer/util.py
Class Name:
Method Name: listup_operator_in_order