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 bcc7e425d3e4cd432bfd37b5a96581fbabbf4f8d
Author: Martin Luessi <[email protected]>
Date:   Thu Dec 22 13:34:34 2011 -0500

    ENH: correct first_samp when tmin is not None
---
 mne/fiff/raw.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mne/fiff/raw.py b/mne/fiff/raw.py
index f6181ec..47a8b8b 100644
--- a/mne/fiff/raw.py
+++ b/mne/fiff/raw.py
@@ -279,7 +279,7 @@ class Raw(dict):
             first_samp = self.first_samp
         else:
             start = int(floor(tmin * self.info['sfreq']))
-            first_samp = start
+            first_samp = self.first_samp + start
 
         if tmax is None:
             stop = self.last_samp + 1 - self.first_samp

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/debian-med/python-mne.git

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

Reply via email to