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
// an expression?
from .cmd_select import _eval_attr_expr
rids = _eval_attr_expr(args.roi_attr, ds.fa).nonzero()[0]
if roi_ids is None:
roi_ids = args.roi_attr
else:
// intersect with previous roi_id list
roi_ids = list(set(roi_ids).intersection(rids))
if roi_ids is None:
verbose(3, "Attempting %i ROI analyses" % ds.nfeatures)
else:
verbose(3, "Attempting %i ROI analyses" % len(roi_ids))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
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: PyMVPA/PyMVPA
Commit Name: 2bf8934c85501fec5bdc028e3926f3a2999be99d
Time: 2014-02-27
Author: debian@onerussian.com
File Name: mvpa2/cmdline/cmd_searchlight.py
Class Name:
Method Name: run
Project Name: PyMVPA/PyMVPA
Commit Name: 3d889d57c6d84a1f01088bb32ef1deb490a796ce
Time: 2013-02-06
Author: michael.hanke@gmail.com
File Name: mvpa2/cmdline/cmd_preproc.py
Class Name:
Method Name: run