Skip to content

Commit

Permalink
Merge pull request #1115 from christianmbrodbeck/fix-ss
Browse files Browse the repository at this point in the history
FIX scale_source_space:  assign subject ID
  • Loading branch information
agramfort committed Feb 3, 2014
2 parents f451359 + e697d4a commit 51289ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mne/coreg.py
Original file line number Diff line number Diff line change
Expand Up @@ -1124,6 +1124,7 @@ def scale_source_space(subject_to, src_name, subject_from=None, scale=None,
subject_to)
logger.info("Scale factor: %s", scale)
for ss in sss:
ss['subject_his_id'] = subject_to
ss['rr'] = ss['rr'] * scale
if norm_scale is not None:
nn = ss['nn'] * norm_scale
Expand Down

0 comments on commit 51289ad

Please sign in to comment.