[Mne_analysis] mne-python

Graves, William wgraves at mcw.edu
Fri Jul 8 18:53:35 EDT 2011
Search archives:

Thanks Alex. Turns out the problem was that I was including my local "MNE-sample-data" directory in the path. Once I only included everything up to one level above that it worked. Of course, I couldn't isolate that until you showed me exactly what the syntax should be.

Thanks again,
Will

On Jul 8, 2011, at 5:17 PM, Alexandre Gramfort wrote:

> Hi William,
> 
>> downloads the sample dataset from MGH. But my question is, if I have already downloaded it, how do I set the path to recognize where it is currently located, rather than having to download it again? It looks like this function comes from the "__init__.py" script in the "mne-python/mne/datasets/sample" directory, but in spite my trying to parse it I still can't seem to figure it out.
> 
> you can simply do:
> 
>> data_path = sample.data_path('/path/to/data')
> 
> or
> 
>> data_path = sample.data_path('..')
> 
> like you would do with "cd" on unix.
> 
> ALex
> 
> 
> The information in this e-mail is intended only for the person to whom it is
> addressed. If you believe this e-mail was sent to you in error and the e-mail
> contains patient information, please contact the Partners Compliance HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in error
> but does not contain patient information, please contact the sender and properly
> dispose of the e-mail.
> 






More information about the Mne_analysis mailing list