Skip to content

Commit

Permalink
FIX scale_source_space(): add distances with 3 scaling params
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbrodbeck committed Oct 7, 2014
1 parent 65225e3 commit 872e915
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mne/coreg.py
Original file line number Diff line number Diff line change
Expand Up @@ -1150,6 +1150,7 @@ def scale_source_space(subject_to, src_name, subject_from=None, scale=None,

if add_dist:
logger.info("Recomputing distances, this might take a while")
add_source_space_distances(sss, sss[0]['dist_limit'], n_jobs)
dist_limit = np.asscalar(sss[0]['dist_limit'])
add_source_space_distances(sss, dist_limit, n_jobs)

write_source_spaces(dst, sss)

0 comments on commit 872e915

Please sign in to comment.