1dba0aaea818505ac4e22cd779995b46454207bb,cnvlib/segmentation/__init__.py,,do_segmentation,#Any#Any#Any#Any#Any#Any#Any#Any#Any#,19

Before Change


                                skip_low, skip_outliers,
                                save_dataframe, rlibpath)

    chroms = cnarr.chromosome.unique()
    rets = []
    // TODO: handle save_dataframe=True
    with futures.ProcessPoolExecutor(processes) as pool:
        for ret in pool.map(_ds, ((cnarr[cnarr.chromosome == c], method,
                                   threshold, variants, skip_low, skip_outliers,
                                   False, rlibpath) for c in chroms)):
            rets.append(ret)
    data = pd.concat([r.data for r in rets])
    meta = rets[0].meta
    for r in rets[1:]:
        meta.update(r.meta)

After Change


        rstr = [rets[0][1]]
        for ret in rets[1:]:
            r = ret[1]
            rstr.append(r[r.index("\n") + 1:])
        rets = [ret[0] for ret in rets]

    data = pd.concat([r.data for r in rets])
    meta = rets[0].meta
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: etal/cnvkit
Commit Name: 1dba0aaea818505ac4e22cd779995b46454207bb
Time: 2016-08-30
Author: bpederse@gmail.com
File Name: cnvlib/segmentation/__init__.py
Class Name:
Method Name: do_segmentation


Project Name: probcomp/bayeslite
Commit Name: c17ec6faccf050596c0fb12dabda184183393aa1
Time: 2015-06-17
Author: riastradh+probcomp@csail.mit.edu
File Name: src/bqlfn.py
Class Name:
Method Name: correlation_anovar2


Project Name: eriklindernoren/PyTorch-YOLOv3
Commit Name: 142bc348f80ae6c1f6ede5b598b0443af8048717
Time: 2018-05-22
Author: eriklindernoren@live.se
File Name: utils.py
Class Name:
Method Name: non_max_suppression


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: eb3d55ff9f6a55fb97dd1cd06e441f4fbd351e7f
Time: 2018-03-20
Author: jacob.montiel@gmail.com
File Name: skmultiflow/classification/meta/adaptive_random_forests.py
Class Name: AdaptiveRandomForest
Method Name: predict


Project Name: rkcosmos/deepcut
Commit Name: 0347e36737b25671dff14c6c1bbbe5d090d71a06
Time: 2017-06-28
Author: titipata@allenai.org
File Name: deepcut/train.py
Class Name:
Method Name: train_model