This is an automated email from the git hooks/post-receive script. yoh pushed a commit to annotated tag v0.1 in repository python-mne.
commit 3079d56abb5ecbce9b247c69c827d06384a11120 Author: Alexandre Gramfort <[email protected]> Date: Thu May 26 11:00:40 2011 -0400 var naming --- mne/source_estimate.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/mne/source_estimate.py b/mne/source_estimate.py index b263097..66303b7 100644 --- a/mne/source_estimate.py +++ b/mne/source_estimate.py @@ -218,8 +218,8 @@ def read_morph_map(subject_from, subject_to, subjects_dir=None): raise ValueError('Morphing map data not found') # Find the correct ones - leftmap = None - rightmap = None + left_map = None + right_map = None for m in maps: tag = find_tag(fid, m, FIFF.FIFF_MNE_MORPH_MAP_FROM) if tag.data == subject_from: @@ -229,21 +229,21 @@ def read_morph_map(subject_from, subject_to, subjects_dir=None): tag = find_tag(fid, m, FIFF.FIFF_MNE_HEMI) if tag.data == FIFF.FIFFV_MNE_SURF_LEFT_HEMI: tag = find_tag(fid, m, FIFF.FIFF_MNE_MORPH_MAP) - leftmap = tag.data + left_map = tag.data print '\tLeft-hemisphere map read.' elif tag.data == FIFF.FIFFV_MNE_SURF_RIGHT_HEMI: tag = find_tag(fid, m, FIFF.FIFF_MNE_MORPH_MAP) - rightmap = tag.data + right_map = tag.data print '\tRight-hemisphere map read.' fid.close() - if leftmap is None: + if left_map is None: raise ValueError('Left hemisphere map not found in %s' % name) - if rightmap is None: + if right_map is None: raise ValueError('Left hemisphere map not found in %s' % name) - return leftmap, rightmap + return left_map, right_map def mesh_edges(tris): -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-mne.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
