[med-svn] [python-mne] 264/376: DOC : fix some paths

Yaroslav Halchenko debian at onerussian.com
Fri Nov 27 17:23:03 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 3bdf46544e3046075f2725e962d79c35a4118767
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date:   Wed May 25 14:28:17 2011 -0400

    DOC : fix some paths
---
 examples/inverse/plot_compute_mne_inverse.py            | 2 +-
 examples/inverse/plot_label_source_activations.py       | 2 +-
 examples/inverse/plot_minimum_norm_estimate.py          | 2 +-
 examples/inverse/plot_minimum_norm_raw_data_in_label.py | 2 +-
 examples/inverse/plot_morph_data.py                     | 2 +-
 examples/inverse/plot_read_source_space.py              | 2 +-
 examples/inverse/plot_read_stc.py                       | 2 +-
 examples/preprocessing/plot_find_ecg_artifacts.py       | 2 +-
 examples/preprocessing/plot_find_eog_artifacts.py       | 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/examples/inverse/plot_compute_mne_inverse.py b/examples/inverse/plot_compute_mne_inverse.py
index 47b7eed..141475b 100644
--- a/examples/inverse/plot_compute_mne_inverse.py
+++ b/examples/inverse/plot_compute_mne_inverse.py
@@ -23,7 +23,7 @@ from mne.minimum_norm import apply_inverse, read_inverse_operator
 from mne.viz import plot_source_estimate
 
 
-data_path = sample.data_path('.')
+data_path = sample.data_path('..')
 fname_inv = data_path + '/MEG/sample/sample_audvis-meg-oct-6-meg-inv.fif'
 fname_evoked = data_path + '/MEG/sample/sample_audvis-ave.fif'
 
diff --git a/examples/inverse/plot_label_source_activations.py b/examples/inverse/plot_label_source_activations.py
index ac517e5..a113c1c 100644
--- a/examples/inverse/plot_label_source_activations.py
+++ b/examples/inverse/plot_label_source_activations.py
@@ -14,7 +14,7 @@ print __doc__
 import mne
 from mne.datasets import sample
 
-data_path = sample.data_path('.')
+data_path = sample.data_path('..')
 stc_fname = data_path + '/MEG/sample/sample_audvis-meg-lh.stc'
 label = 'Aud-lh'
 label_fname = data_path + '/MEG/sample/labels/%s.label' % label
diff --git a/examples/inverse/plot_minimum_norm_estimate.py b/examples/inverse/plot_minimum_norm_estimate.py
index 73a8756..7c16887 100644
--- a/examples/inverse/plot_minimum_norm_estimate.py
+++ b/examples/inverse/plot_minimum_norm_estimate.py
@@ -20,7 +20,7 @@ from mne.datasets import sample
 from mne.fiff import Evoked
 from mne.minimum_norm import minimum_norm
 
-data_path = sample.data_path('.')
+data_path = sample.data_path('..')
 fname_fwd = data_path + '/MEG/sample/sample_audvis-meg-eeg-oct-6-fwd.fif'
 fname_cov = data_path + '/MEG/sample/sample_audvis-cov.fif'
 fname_evoked = data_path + '/MEG/sample/sample_audvis-ave.fif'
diff --git a/examples/inverse/plot_minimum_norm_raw_data_in_label.py b/examples/inverse/plot_minimum_norm_raw_data_in_label.py
index 9d5342e..610c804 100644
--- a/examples/inverse/plot_minimum_norm_raw_data_in_label.py
+++ b/examples/inverse/plot_minimum_norm_raw_data_in_label.py
@@ -22,7 +22,7 @@ from mne.fiff import Raw
 from mne.minimum_norm import apply_inverse_raw, read_inverse_operator
 
 
-data_path = sample.data_path('.')
+data_path = sample.data_path('..')
 fname_inv = data_path + '/MEG/sample/sample_audvis-meg-oct-6-meg-inv.fif'
 fname_raw = data_path + '/MEG/sample/sample_audvis_raw.fif'
 label_name = 'Aud-lh'
diff --git a/examples/inverse/plot_morph_data.py b/examples/inverse/plot_morph_data.py
index 9b097a3..b96f7e6 100644
--- a/examples/inverse/plot_morph_data.py
+++ b/examples/inverse/plot_morph_data.py
@@ -17,7 +17,7 @@ print __doc__
 import mne
 from mne.datasets import sample
 
-data_path = sample.data_path('.')
+data_path = sample.data_path('..')
 
 subject_from = 'sample'
 subject_to = 'morph'
diff --git a/examples/inverse/plot_read_source_space.py b/examples/inverse/plot_read_source_space.py
index d7000ac..8b1df69 100644
--- a/examples/inverse/plot_read_source_space.py
+++ b/examples/inverse/plot_read_source_space.py
@@ -14,7 +14,7 @@ import os.path as op
 import mne
 from mne.datasets import sample
 
-data_path = sample.data_path('.')
+data_path = sample.data_path('..')
 fname = op.join(data_path, 'MEG', 'sample', 'sample_audvis-eeg-oct-6p-fwd.fif')
 
 add_geom = True  # include high resolution source space
diff --git a/examples/inverse/plot_read_stc.py b/examples/inverse/plot_read_stc.py
index a10a7ff..1e1b37b 100644
--- a/examples/inverse/plot_read_stc.py
+++ b/examples/inverse/plot_read_stc.py
@@ -15,7 +15,7 @@ print __doc__
 import mne
 from mne.datasets import sample
 
-data_path = sample.data_path('.')
+data_path = sample.data_path('..')
 fname = data_path + '/MEG/sample/sample_audvis-meg'
 
 stc = mne.SourceEstimate(fname)
diff --git a/examples/preprocessing/plot_find_ecg_artifacts.py b/examples/preprocessing/plot_find_ecg_artifacts.py
index 9cd5355..dcf949c 100644
--- a/examples/preprocessing/plot_find_ecg_artifacts.py
+++ b/examples/preprocessing/plot_find_ecg_artifacts.py
@@ -17,7 +17,7 @@ import pylab as pl
 import mne
 from mne import fiff
 from mne.datasets import sample
-data_path = sample.data_path('.')
+data_path = sample.data_path('..')
 
 ###############################################################################
 # Set parameters
diff --git a/examples/preprocessing/plot_find_eog_artifacts.py b/examples/preprocessing/plot_find_eog_artifacts.py
index 3152ddf..ced892f 100644
--- a/examples/preprocessing/plot_find_eog_artifacts.py
+++ b/examples/preprocessing/plot_find_eog_artifacts.py
@@ -17,7 +17,7 @@ import pylab as pl
 import mne
 from mne import fiff
 from mne.datasets import sample
-data_path = sample.data_path('.')
+data_path = sample.data_path('..')
 
 ###############################################################################
 # Set parameters

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