[med-svn] [python-mne] 79/353: FIX: pass subjects_dir to read_morph_map

Yaroslav Halchenko debian at onerussian.com
Fri Nov 27 17:24:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

yoh pushed a commit to tag 0.4
in repository python-mne.

commit b991e7de3dce9120ed1d256b85f5dc7dc20cb670
Author: Martin Luessi <mluessi at nmr.mgh.harvard.edu>
Date:   Fri Feb 10 10:11:24 2012 -0500

    FIX: pass subjects_dir to read_morph_map
---
 mne/source_estimate.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mne/source_estimate.py b/mne/source_estimate.py
index b19362b..259862d 100644
--- a/mne/source_estimate.py
+++ b/mne/source_estimate.py
@@ -590,7 +590,7 @@ def morph_data(subject_from, subject_to, stc_from, grade=5, smooth=None,
     sphere = os.path.join(subjects_dir, subject_to, 'surf', 'rh.sphere.reg')
     rhs = read_surface(sphere)[0]
 
-    maps = read_morph_map(subject_from, subject_to)
+    maps = read_morph_map(subject_from, subject_to, subjects_dir)
 
     lh_data = stc_from.data[:len(stc_from.lh_vertno)]
     rh_data = stc_from.data[-len(stc_from.rh_vertno):]

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-mne.git



More information about the debian-med-commit mailing list