99ecdc7b5dabf06ec9013b5c03a6b0c3a2f4d671,cellprofiler/gui/pipelinelistview.py,PipelineListView,on_data,#PipelineListView#Any#Any#Any#Any#,399

Before Change


            //
            wx.BeginBusyCursor()
            try:
                pipeline = cpp.Pipeline()
                pipeline.load(StringIO(data))
                for i, module in enumerate(pipeline.modules()):
                    module.module_num = i + index + 1
                    self.__pipeline.add_module(module)
            finally:
                wx.EndBusyCursor()
                    
    def __on_pipeline_loaded(self,pipeline,event):

After Change


    
    def on_data(self, x, y, action, data):
        index = self.where_to_drop(x,y)
        if index is not None:
            self.do_drop(index, action, data)

    def on_panel_data(self, x, y, action, data):
        index = self.where_to_drop_panel(x,y)
        if index is not None:
            self.do_drop(index, action, data)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: CellProfiler/CellProfiler
Commit Name: 99ecdc7b5dabf06ec9013b5c03a6b0c3a2f4d671
Time: 2010-04-26
Author: leek@1fc53939-2000-0410-845c-e8453a809027
File Name: cellprofiler/gui/pipelinelistview.py
Class Name: PipelineListView
Method Name: on_data


Project Name: pytorch/text
Commit Name: df245e66ae420ff67de3d122d534401a0aacbe0c
Time: 2017-07-06
Author: jekbradbury@gmail.com
File Name: torchtext/data/field.py
Class Name: Field
Method Name: preprocess


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: e9c5be365179c1ffe32c0dfb7c8dc3d589a07b04
Time: 2017-07-20
Author: guilhermekmatsumoto@gmail.com
File Name: skmultiflow/demos/_test_knn_adwin.py
Class Name:
Method Name: demo