[med-svn] [python-mne] 176/353: adding neurospin path to sample data

Yaroslav Halchenko debian at onerussian.com
Fri Nov 27 17:24:53 UTC 2015


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 df0f19771ec4ee2b5790f611bbbdef75d6d6d32f
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date:   Fri May 4 14:55:59 2012 +0200

    adding neurospin path to sample data
---
 mne/datasets/sample/__init__.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/mne/datasets/sample/__init__.py b/mne/datasets/sample/__init__.py
index 1da3bc7..4e2c93c 100644
--- a/mne/datasets/sample/__init__.py
+++ b/mne/datasets/sample/__init__.py
@@ -19,10 +19,13 @@ def data_path(path='.'):
     folder_name = "MNE-sample-data"
 
     martinos_path = '/homes/6/gramfort/cluster/work/data/MNE-sample-data-processed.tar.gz'
+    neurospin_path = '/neurospin/tmp/gramfort/MNE-sample-data-processed.tar.gz'
 
     if not os.path.exists(op.join(path, folder_name)):
         if os.path.exists(martinos_path):
             archive_name = martinos_path
+        elif os.path.exists(neurospin_path):
+            archive_name = neurospin_path
         elif not os.path.exists(archive_name):
             import urllib
             print "Downloading data, please Wait (600 MB)..."

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