[med-svn] [python-mne] 70/376: partial previous commit (again)

Yaroslav Halchenko debian at onerussian.com
Fri Nov 27 17:22:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

yoh pushed a commit to annotated tag v0.1
in repository python-mne.

commit ddb167cf36fe1eb0497abaa278647ca4efce1a7a
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date:   Sun Feb 13 22:21:13 2011 -0500

    partial previous commit (again)
---
 mne/stats/permutations.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mne/stats/permutations.py b/mne/stats/permutations.py
index df4aca7..f524b50 100644
--- a/mne/stats/permutations.py
+++ b/mne/stats/permutations.py
@@ -91,7 +91,7 @@ def permutation_t_test(X, n_permutations=10000, tail=0):
     n_samples, n_tests = X.shape
 
     do_exact = False
-    if n_permutations is 'exact' or (n_permutations >= 2**n_samples - 1):
+    if n_permutations is 'all' or (n_permutations >= 2**n_samples - 1):
         do_exact = True
         n_permutations = 2**n_samples - 1
 

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