This is an automated email from the git hooks/post-receive script. yoh pushed a commit to annotated tag v0.2 in repository python-mne.
commit 20a4119258a44461270b11bd9ef235dd79eacb8a Author: Martin Luessi <[email protected]> Date: Wed Sep 28 16:56:45 2011 -0400 fixed bug that could occur if only one good event --- mne/epochs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mne/epochs.py b/mne/epochs.py index ae3c4ac..e8a8a43 100644 --- a/mne/epochs.py +++ b/mne/epochs.py @@ -238,7 +238,7 @@ class Epochs(object): if self._is_good_epoch(epoch): good_events.append(idx) - self.events = self.events[good_events, :] + self.events = np.atleast_2d(self.events[good_events]) self.bad_dropped = True print "%d bad epochs dropped" % (n_events - len(good_events)) -- 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
