The following commit has been merged in the master branch:
commit 62311110b95a0aaf46228c9fca5ff8c022e36ccf
Author: andrei zavada <[email protected]>
Date:   Wed Apr 17 17:45:04 2013 +0000

    omit embedded annotations channel when collecting channels for SF

diff --git a/src/ui/sf/sf.cc b/src/ui/sf/sf.cc
index 3b4bc42..5a0089a 100644
--- a/src/ui/sf/sf.cc
+++ b/src/ui/sf/sf.cc
@@ -125,7 +125,8 @@ SScoringFacility (agh::CSubject& J,
                        auto type = H.second.signal_type();
                        if ( type != sigfile::SChannel::TType::eeg &&
                             type != sigfile::SChannel::TType::eog &&
-                            type != sigfile::SChannel::TType::emg ) {
+                            type != sigfile::SChannel::TType::emg &&
+                            H.second.label != 
sigfile::CEDFFile::SSignal::edf_annotations_label ) {
                                snprintf_buf( "Reading and processing channel 
%s ...", H.first.c_str());
                                _p.sb_message( __buf__);
                                channels.emplace_back( H.second, *this, y, 
seq++);

-- 
Sleep experiment manager

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to