80a574010ad434c064afe1a3bdc523de743695c6,skimage/segmentation/_clear_border.py,,clear_border,#Any#Any#Any#Any#Any#,5

Before Change


           [0, 0, 0, 0, 0, 0, 0, 0, 0]])

    
    image = labels

    if any((buffer_size >= s for s in image.shape)) and mask is None:
        // ignore buffer_size if mask
        raise ValueError("buffer size may not be greater than image size")

After Change


            borders[tuple(slices)] = True
            slices[d] = slend
            borders[tuple(slices)] = True
            slices[d] = slice(None)

    // Re-label, in case we are dealing with a binary out
    // and to get consistent labeling
    labels, number = label(out, background=0, return_num=True)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: scikit-image/scikit-image
Commit Name: 80a574010ad434c064afe1a3bdc523de743695c6
Time: 2021-02-10
Author: rfezzani@gmail.com
File Name: skimage/segmentation/_clear_border.py
Class Name:
Method Name: clear_border


Project Name: cornellius-gp/gpytorch
Commit Name: 3d232f9c1138c39f714799e92b16b3f1019dcd8b
Time: 2019-04-06
Author: gpleiss@gmail.com
File Name: gpytorch/lazy/lazy_evaluated_kernel_tensor.py
Class Name: LazyEvaluatedKernelTensor
Method Name: __getitem__


Project Name: yangyanli/PointCNN
Commit Name: 86a4393efb842ad65bd170c8beacd40119fd27be
Time: 2018-04-10
Author: yangyan.lee@gmail.com
File Name: pointcnn.py
Class Name: PointCNN
Method Name: __init__


Project Name: mne-tools/mne-python
Commit Name: b111b2ebdbbb98e1fc80c70ac6b30d96c4133953
Time: 2020-04-21
Author: larson.eric.d@gmail.com
File Name: mne/_ola.py
Class Name: _Storer
Method Name: __call__