dd1e897582174ed300ae6303ab93929fd18c51a1,cnvlib/genome/intersect.py,,iter_ranges,#Any#Any#Any#Any#Any#,72

Before Change



    if ends is not None and len(ends):
        if mode == "inner":
            end_idxs = table.end.searchsorted(ends, "right")
        else:
            end_idxs = table.start.searchsorted(ends)
    else:
        end_idxs = np.repeat(len(table), len(starts))

After Change



    if ends is not None and len(ends):
        if mode == "inner":
            end_idxs = tbl_end.searchsorted(ends, "right")
        else:
            end_idxs = table.start.searchsorted(ends)
    else:
        end_idxs = np.repeat(len(table), len(starts))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: etal/cnvkit
Commit Name: dd1e897582174ed300ae6303ab93929fd18c51a1
Time: 2017-01-17
Author: eric.talevich@gmail.com
File Name: cnvlib/genome/intersect.py
Class Name:
Method Name: iter_ranges


Project Name: tensorflow/magenta
Commit Name: bb9b23bb210fbe363687d992e769bb1b23c21107
Time: 2017-06-15
Author: jesse.engel@gmail.com
File Name: magenta/models/nsynth/wavenet/fastgen.py
Class Name:
Method Name: sample_categorical


Project Name: acoular/acoular
Commit Name: 97a346493ac31f120102d4cb3cf8586333d1a1ec
Time: 2010-09-16
Author: sarradj@tu-cottbus.de
File Name: beamfpy/beamfpy.py
Class Name:
Method Name: synthetic