[Mne_analysis] mne report error
Mainak Jas
mainakjas at gmail.com
Thu Oct 16 16:21:19 EDT 2014
Hi Lau,
On Thu, Oct 16, 2014 at 11:07 PM, Lau Møller Andersen <lau.andersen at cnru.dk>
wrote:
> Hi Alex
>
> I'm not sure it works as supposed to. I do have the files now as the
> output below shows:
>
> from mne.report import Report
> from mne.datasets import sample
>
> path = sample.data_path()
> report = Report()
>
you need to give the path of the folder you want to render. Something like
this:
report.parse_folder(data_path=path, pattern='*-eve.fif')
have a look at the tutorial here:
http://martinos.org/mne/dev/mne_report_tutorial.html
Let us know if you still face problems.
Best,
Mainak
> Embedding : jquery-1.10.2.min.js
> Embedding : jquery-ui.min.js
> Embedding : bootstrap.min.js
> Embedding : jquery-ui.min.css
> Embedding : bootstrap.min.css
>
> I can also save the report just fine:
> report.save('report.html')
>
> The problem though is that the html is empty. I've attached a screenshot.
> I hope I haven't overlooked something obvious.
>
> Best
>
> Lau
>
>
> Den 16-10-2014 kl. 13:21 skrev Alexandre Gramfort:
>
> hi Lau,
>>
>> it should be fixed. Version 0.8.6 is on pypi.
>>
>> https://pypi.python.org/pypi/mne
>>
>> let us know if it works.
>>
>> thanks for the bug report.
>>
>> Alex
>>
>> On Thu, Oct 16, 2014 at 7:10 PM, Lau Møller Andersen
>> <lau.andersen at cnru.dk> wrote:
>>
>>> Hi Mainak
>>>
>>> Of course: I installed anaconda by running the shell script from their
>>> website. (I think it was version 2.0 at the time, but in the meantime
>>> I've
>>> updated to 2.1.0.) Then I installed pip through anaconda (conda install
>>> pip
>>> (1.5.6) and then through pip I installed mne (pip install mne (0.8.5))
>>>
>>> The installations have been done the same way for my linux and mac
>>> operating
>>> systems
>>>
>>> Best
>>>
>>> Lau
>>>
>>> Den 16-10-2014 kl. 12:03 skrev Mainak Jas:
>>>
>>> Hi Lau,
>>>
>>> Before I investigate further, can I know how did you install mne-python
>>> on
>>> your machine?
>>>
>>> Mainak
>>>
>>> On Thu, Oct 16, 2014 at 7:50 PM, Lau Møller Andersen <
>>> lau.andersen at cnru.dk>
>>> wrote:
>>>
>>>> Dear list
>>>>
>>>> When running the following commands from the mne report tutorial
>>>> website, I get the following error.
>>>>
>>>> >from mne.report import Report
>>>>>> >from mne.datasets import sample
>>>>>>
>>>>> Generate the report:
>>>>
>>>> path = sample.data_path()
>>>>>>> report = Report()
>>>>>>>
>>>>>> IOError: [Errno 2] No such file or directory:
>>>> '/home/lau/anaconda/lib/python2.7/site-packages/mne/
>>>> html/jquery-1.10.2.min.js'
>>>>
>>>>
>>>> How do I install those missing files?
>>>> I'm running python through anaconda (2.1.0) and I have the stable
>>>> version of mne (0.8.5).
>>>>
>>>> It's the same issue on my mac 10.9.5 and my linux mint 17 operating
>>>> systems.
>>>>
>>>> Best
>>>>
>>>> Lau
>>>> _______________________________________________
>>>> Mne_analysis mailing list
>>>> Mne_analysis at nmr.mgh.harvard.edu
>>>> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>>>>
>>>>
>>>> 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.
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Mne_analysis mailing list
>>> Mne_analysis at nmr.mgh.harvard.edu
>>> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>>>
>>>
>>> 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.
>>>
>>>
>>>
>>> _______________________________________________
>>> Mne_analysis mailing list
>>> Mne_analysis at nmr.mgh.harvard.edu
>>> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>>>
>>>
>>> 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.
>>>
>>> _______________________________________________
>> Mne_analysis mailing list
>> Mne_analysis at nmr.mgh.harvard.edu
>> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>>
>
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
> 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20141016/11df7188/attachment.html
More information about the Mne_analysis
mailing list