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]
After Change
def visible_settings(self):
result = []
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
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 11
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: CellProfiler/CellProfiler
Commit Name: 44992c89c37343cbaeb5bc28e723f564926356b0
Time: 2009-10-23
Author: klmadden@1fc53939-2000-0410-845c-e8453a809027
File Name: pyCellProfiler/cellprofiler/modules/measureimageintensity.py
Class Name: MeasureImageIntensity
Method Name: visible_settings
Project Name: CellProfiler/CellProfiler
Commit Name: c7e269042ea2e8c67e3d3d0ee2804535e326604d
Time: 2010-09-07
Author: leek@1fc53939-2000-0410-845c-e8453a809027
File Name: cellprofiler/modules/imagemath.py
Class Name: ImageMath
Method Name: visible_settings