adb0a870e264dedbf35d454b449d1ba14bcdbf24,mvpa2/cmdline/cmd_searchlight.py,,run,#Any#,99

Before Change


        seed_coords, roi_ids = scatter_neighborhoods(nb, coords)
        verbose(3, "Attempting %i ROI analyses" % len(roi_ids))
    elif not args.roi_attr is None:
        verbose(3, "Attempting ROI analyses in %s" % args.roi_attr)
        roi_ids = args.roi_attr
    else:
        verbose(3, "Attempting %i ROI analyses" % ds.nfeatures)
        roi_ids = None

After Change


        coords = ds.fa[attr].value
        seed_coords, roi_ids = scatter_neighborhoods(nb, coords)
    if not args.roi_attr is None:
        if len(args.roi_attr) == 1 and args.roi_attr[0] in ds.fa.keys():
            // name of an attribute -> pull non-zeroes
            rids = ds.fa[args.roi_attr].value.nonzero()[0]
        else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: PyMVPA/PyMVPA
Commit Name: adb0a870e264dedbf35d454b449d1ba14bcdbf24
Time: 2014-02-19
Author: michael.hanke@gmail.com
File Name: mvpa2/cmdline/cmd_searchlight.py
Class Name:
Method Name: run


Project Name: deepfakes/faceswap
Commit Name: 8d4f381e7ce7aec4ded719aaf84cbbb1401b3955
Time: 2020-03-31
Author: 36920800+torzdf@users.noreply.github.com
File Name: plugins/extract/pipeline.py
Class Name: Extractor
Method Name: _set_parallel_processing


Project Name: deepfakes/faceswap
Commit Name: 8d1502c202ddd45caaec342cf7dd022008fabd5f
Time: 2019-05-16
Author: 36920800+torzdf@users.noreply.github.com
File Name: lib/vgg_face.py
Class Name: VGGFace
Method Name: sorted_similarity