[med-svn] [python-mne] 17/353: FIX: ignore additional outputs of find_ecg_events

Yaroslav Halchenko debian at onerussian.com
Fri Nov 27 17:24:25 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 a04eb1fbb1be3c4882d7207a91559e5239a30758
Author: Martin Luessi <mluessi at nmr.mgh.harvard.edu>
Date:   Tue Nov 29 14:08:49 2011 -0500

    FIX: ignore additional outputs of find_ecg_events
---
 bin/mne_clean_eog_ecg.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/mne_clean_eog_ecg.py b/bin/mne_clean_eog_ecg.py
index e3fcc7c..01d3ca3 100755
--- a/bin/mne_clean_eog_ecg.py
+++ b/bin/mne_clean_eog_ecg.py
@@ -56,7 +56,7 @@ def clean_ecg_eog(in_fif_fname, out_fif_fname=None, eog=True, ecg=True,
     print 'Implementing ECG and EOG artifact rejection on data'
 
     if ecg:
-        ecg_events = mne.artifacts.find_ecg_events(raw_in)
+        ecg_events, _, _  = mne.artifacts.find_ecg_events(raw_in)
         print "Writing ECG events in %s" % ecg_event_fname
         mne.write_events(ecg_event_fname, ecg_events)
 

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