3472e4c88f44be4de973dda3e07ad9d11e7c7e5d,plantcv/plantcv/roi/roi_methods.py,,multi,#Any#Any#Any#Any#Any#Any#,210

Before Change


            // Loop over each column
            for j in range(0, ncols):
                // Initialize a binary image of the circle
                bin_img = np.zeros((height, width), dtype=np.uint8)
                // The upper left corner is the x starting coordinate + the ROI offset * the
                // horizontal spacing between chips
                x = coord[0] + j * spacing[0]
                // Create a chip ROI

After Change


    roi_contour = []
    roi_hierarchy = []
    // Grid of ROIs
    if (type(coord) == tuple) and ((nrows and ncols) is not None) and (type(spacing) == tuple):
        // Loop over each row
        for i in range(0, nrows):
            // The upper left corner is the y starting coordinate + the ROI offset * the vertical spacing
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: danforthcenter/plantcv
Commit Name: 3472e4c88f44be4de973dda3e07ad9d11e7c7e5d
Time: 2019-10-30
Author: dominik.schneider@wsu.edu
File Name: plantcv/plantcv/roi/roi_methods.py
Class Name:
Method Name: multi


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 2365934c716af1c923a185ca0ad0ae1855108eb3
Time: 2020-09-08
Author: M.N.Tran@ibm.com
File Name: art/attacks/evasion/imperceptible_asr/imperceptible_attack_pytorch.py
Class Name: ImperceptibleAttackPytorch
Method Name: _partial_forward


Project Name: nipy/dipy
Commit Name: b36af7f7d4a8f552c0354f1004a69db6401f7b72
Time: 2009-10-05
Author: matthew.brett@gmail.com
File Name: dipy/io/tests/test_utils.py
Class Name:
Method Name: test_rec2dict