[med-svn] [python-mne] 49/353: FIX : missing pick of FIFFV_MISC_CH

Yaroslav Halchenko debian at onerussian.com
Fri Nov 27 17:24:29 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 1446e94c2a3a7f6afb325140e71916067420b9e1
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date:   Fri Jan 6 17:36:35 2012 +0100

    FIX : missing pick of FIFFV_MISC_CH
---
 mne/__init__.py  | 1 +
 mne/fiff/pick.py | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/mne/__init__.py b/mne/__init__.py
index 9679ff5..4994842 100644
--- a/mne/__init__.py
+++ b/mne/__init__.py
@@ -20,3 +20,4 @@ from .proj import read_proj
 import fiff
 import artifacts
 import stats
+import viz
diff --git a/mne/fiff/pick.py b/mne/fiff/pick.py
index 5be64dd..05911b4 100644
--- a/mne/fiff/pick.py
+++ b/mne/fiff/pick.py
@@ -43,6 +43,8 @@ def channel_type(info, idx):
         return 'emg'
     elif kind == FIFF.FIFFV_ECG_CH:
         return 'ecg'
+    elif kind == FIFF.FIFFV_MISC_CH:
+        return 'misc'
     raise Exception('Unknown channel type')
 
 

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