b2ad28d3fe5f4257c1f2ad015c10c3700bc2953c,ilastik/applets/layerViewer/layerViewerGui.py,LayerViewerGui,setupLayers,#LayerViewerGui#Any#,134

Before Change


        // Users of this class have two choices:
        // 1) Provide a callback for setupLayers via the __init__ function argument
        // 2) Subclass this GUI class and override the setupLayers() function.
        raise NotImplementedError("No setup layers function defined.  See comment above.")

    @traceLogged(traceLogger)
    def _setImageIndex(self, imageIndex):
        if self.imageIndex != -1:

After Change


            provider.notifyRemove( bind( handleDatasetRemoval ) )

    def setupLayers( self, currentImageIndex ):
        layers = []
        for slotLevel2 in self.dataProviderSlots:
            for i, slotLevel1 in enumerate(slotLevel2):
                for i, slot in enumerate(slotLevel1):
                    if slot.ready():
                        layer = self.createStandardLayerFromSlot(slot)
                        layers.append(layer)
        
        return layers

    @traceLogged(traceLogger)
    def _setImageIndex(self, imageIndex):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: ilastik/ilastik
Commit Name: b2ad28d3fe5f4257c1f2ad015c10c3700bc2953c
Time: 2012-09-11
Author: bergs@janelia.hhmi.org
File Name: ilastik/applets/layerViewer/layerViewerGui.py
Class Name: LayerViewerGui
Method Name: setupLayers


Project Name: mil-tokyo/webdnn
Commit Name: 1d2237ff0cb0f7b9b9bd2a7ca1ab8c858036a67f
Time: 2017-08-29
Author: hidaka@mi.t.u-tokyo.ac.jp
File Name: src/graph_transpiler/webdnn/frontend/tensorflow/ops/gen_array_ops.py
Class Name:
Method Name: squeeze_handler


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 082a939809a47f74284ed555ba1c27b7a1eb5e42
Time: 2020-08-25
Author: abigailt@il.ibm.com
File Name: art/estimators/classification/keras.py
Class Name: KerasClassifier
Method Name: loss