[med-svn] [python-mne] 332/376: FIX : one more fix on isotrak

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


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 317db4dd9be8d088bc67c07b7ab14d18e2e34694
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date:   Thu Aug 4 09:56:15 2011 -0400

    FIX : one more fix on isotrak
---
 mne/fiff/meas_info.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mne/fiff/meas_info.py b/mne/fiff/meas_info.py
index 7e6f516..e1a0aeb 100644
--- a/mne/fiff/meas_info.py
+++ b/mne/fiff/meas_info.py
@@ -132,7 +132,7 @@ def read_meas_info(fid, tree):
     dig = None
     if len(isotrak) == 0:
         print 'Isotrak not found'
-    if len(isotrak) > 1:
+    elif len(isotrak) > 1:
         warn('Multiple Isotrak found')
     else:
         isotrak = isotrak[0]

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