c7cc116394497fb954eee67f996e1e14f32d9aec,mvpa2/datasets/eventrelated.py,,fit_event_hrf_model,#Any#Any#Any#Any#Any#Any#Any#Any#,386
Before Change
for attr in regr_attrs:
names.append(attr)
regrs.append(ds.sa[attr].value)
if len(regrs) < 2:
regrs = [regrs]
regrs = np.hstack(regrs).T
if "add_regs" in design_kwargs:
After Change
names.append(attr)
else:
// add one per each column of the regressor
for i in xrange(regr.shape[1]):
names.append("%s.%d" % (attr, i))
regrs.append(regr)
regrs = np.hstack(regrs)
if "add_regs" in design_kwargs:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: PyMVPA/PyMVPA
Commit Name: c7cc116394497fb954eee67f996e1e14f32d9aec
Time: 2015-06-26
Author: debian@onerussian.com
File Name: mvpa2/datasets/eventrelated.py
Class Name:
Method Name: fit_event_hrf_model
Project Name: probcomp/bayeslite
Commit Name: 651346e6d36fcd7c3bece2187aea9dfd498136cf
Time: 2016-07-21
Author: fsaad@mit.edu
File Name: tests/test_cgpm.py
Class Name:
Method Name: test_unknown_stattype
Project Name: scipy/scipy
Commit Name: c29285f1a2d1b053cc1a8fae38eb6a1bbae5a64d
Time: 2014-02-07
Author: pav@iki.fi
File Name: scipy/sparse/dok.py
Class Name: dok_matrix
Method Name: __getitem__