085140b337fad4c8055ab5e992d0908076c83044,cellprofiler/gui/pipelinelistview.py,PipelineListView,notify,#PipelineListView#Any#Any#,381
Before Change
elif isinstance(event,cpp.PipelineClearedEvent):
self.__on_pipeline_cleared(pipeline, event)
elif isinstance(event,cpp.ModuleEditedPipelineEvent):
if event.module_num not in [
x.module_num for x in self.get_selected_modules()]:
self.select_one_module(event.module_num)
elif isinstance(event, cpp.ModuleEnabledEvent):
self.__on_module_enabled(event)
elif isinstance(event, cpp.ModuleDisabledEvent):
self.__on_module_disabled(event)
After Change
elif isinstance(event,cpp.PipelineClearedEvent):
self.__on_pipeline_cleared(pipeline, event)
elif isinstance(event,cpp.ModuleEditedPipelineEvent):
for list_ctrl in self.list_ctrl, self.input_list_ctrl:
active_item = list_ctrl.get_active_item()
if (active_item is not None and
active_item.module.module_num == event.module_num):
break
else:
self.select_one_module(event.module_num)
elif isinstance(event, cpp.ModuleEnabledEvent):
self.__on_module_enabled(event)
elif isinstance(event, cpp.ModuleDisabledEvent):
self.__on_module_disabled(event)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: CellProfiler/CellProfiler
Commit Name: 085140b337fad4c8055ab5e992d0908076c83044
Time: 2013-05-15
Author: leek@broadinstitute.org
File Name: cellprofiler/gui/pipelinelistview.py
Class Name: PipelineListView
Method Name: notify
Project Name: keras-team/keras
Commit Name: 04a20177cf332004a291cee626c20a0262427796
Time: 2017-06-21
Author: chris.kerr@athion.de
File Name: keras/wrappers/scikit_learn.py
Class Name: BaseWrapper
Method Name: check_params
Project Name: keras-team/keras
Commit Name: ced84c4b42d9186842e4cad6c11b0c8f2c18439b
Time: 2017-06-16
Author: chris.kerr@athion.de
File Name: keras/wrappers/scikit_learn.py
Class Name: BaseWrapper
Method Name: check_params
Project Name: coala/coala-bears
Commit Name: 2bff58313dbd12e5ebc00db492496e864f8eb4db
Time: 2017-08-28
Author: adhika.setyap@gmail.com
File Name: bears/general/CPDBear.py
Class Name: CPDBear
Method Name: run