[med-svn] [python-mne] 105/353: typos

Yaroslav Halchenko debian at onerussian.com
Fri Nov 27 17:24:38 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 e2661ea58bed79be7303dd4314d4411f9d439742
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date:   Thu Mar 8 16:01:22 2012 +0100

    typos
---
 mne/minimum_norm/inverse.py | 4 ++--
 mne/source_space.py         | 4 +---
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/mne/minimum_norm/inverse.py b/mne/minimum_norm/inverse.py
index 77d6150..2335f29 100644
--- a/mne/minimum_norm/inverse.py
+++ b/mne/minimum_norm/inverse.py
@@ -259,7 +259,7 @@ def read_inverse_operator(fname):
 
 
 def write_inverse_operator(fname, inv):
-    """Write an inverse operator from a FIF file
+    """Write an inverse operator to a FIF file
 
     Parameters
     ----------
@@ -329,7 +329,7 @@ def write_inverse_operator(fname, inv):
     end_block(fid, FIFF.FIFFB_MNE_PARENT_MRI_FILE)
 
     #
-    #   Read the source spaces
+    #   Write the source spaces
     #
     if 'src' in inv:
         write_source_spaces(fid, inv['src'])
diff --git a/mne/source_space.py b/mne/source_space.py
index e225ecb..9b10ea1 100644
--- a/mne/source_space.py
+++ b/mne/source_space.py
@@ -369,9 +369,7 @@ def write_source_spaces(fid, src):
 
 
 def _write_one_source_space(fid, this):
-    """Read one source space
-    """
-
+    """Write one source space"""
     write_int(fid, FIFF.FIFF_MNE_SOURCE_SPACE_ID, this['id'])
     if this['type'] == 'surf':
         write_int(fid, FIFF.FIFF_MNE_SOURCE_SPACE_TYPE, 1)

-- 
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