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 c970a54d9739119b4556a297bb6d260bbedaf193
Author: Alexandre Gramfort <[email protected]>
Date:   Wed Jun 8 18:07:14 2011 -0400

    misc in manual
---
 doc/source/index.rst          | 2 ++
 doc/source/manual/matlab.rst  | 2 +-
 doc/source/manual/reading.rst | 6 +++---
 mne/stats/cluster_level.py    | 4 ++--
 4 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/doc/source/index.rst b/doc/source/index.rst
index 996b76e..9cd6dea 100755
--- a/doc/source/index.rst
+++ b/doc/source/index.rst
@@ -12,6 +12,8 @@ converted from other file formats.
   * Get started with :ref:`mne_python`
   * :ref:`example_command_line`
   * Join the MNE `mailing list 
<http://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis>`_
+  * `Help/Feature Request/Bug Report <mailto:[email protected]>`_
+  * :ref:`ch_reading`
 
 Manual
 ======
diff --git a/doc/source/manual/matlab.rst b/doc/source/manual/matlab.rst
index 7f422df..044a323 100755
--- a/doc/source/manual/matlab.rst
+++ b/doc/source/manual/matlab.rst
@@ -414,7 +414,7 @@ they are listed in :ref:`BGBEFADJ`.
 
 .. _BGBEFADJ:
 
-.. table:: Examples demostrating the use of the toolbox.
+.. table:: Examples demonstrating the use of the toolbox.
 
     
+--------------------------------+--------------------------------------------------------------+
     | Function                       | Purpose                                 
                     |
diff --git a/doc/source/manual/reading.rst b/doc/source/manual/reading.rst
index dc251b4..248972e 100755
--- a/doc/source/manual/reading.rst
+++ b/doc/source/manual/reading.rst
@@ -2,9 +2,9 @@
 
 .. _ch_reading:
 
-==============
-Useful reading
-==============
+====================
+Related publications
+====================
 
 General MEG reviews
 ###################
diff --git a/mne/stats/cluster_level.py b/mne/stats/cluster_level.py
index 88faea7..63dc41a 100644
--- a/mne/stats/cluster_level.py
+++ b/mne/stats/cluster_level.py
@@ -69,9 +69,9 @@ def _find_clusters(x, threshold, tail=0, connectivity=None):
     else:
         x_in = np.abs(x) > threshold
 
-    labels, n_labels = ndimage.label(x_in)
-
     if connectivity is None:
+        labels, n_labels = ndimage.label(x_in)
+
         if x.ndim == 1:
             clusters = ndimage.find_objects(labels, n_labels)
             sums = ndimage.measurements.sum(x, labels,

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