[Mne_analysis] make test error on unaltered code from mne-python

kjs bfb at riseup.net
Sat Sep 27 19:56:29 EDT 2014
Search archives:

Mainak Jas wrote:
> Hi Kevin,
> On Sat, Sep 27, 2014 at 11:29 PM, kjs <bfb at riseup.net> wrote:
> 
>> Hi all,
>>
>> I am getting the following test failure when running make from the
>> mne-python repository root.
>>
>> ICE default IO error handler doing an exit(), pid = 32504, errno = 32
>> Makefile:46: recipe for target 'test' failed
>> make: *** [test] Error 1
>>
> 
> 
> I have encountered this problem before. The solution is to remove
> .ICEauthority file from the home directory.
> 
> 
>> I followed the instructions on
>> http://www.martinos.org/mne/stable/contributing.html
>>
>> Downloaded and extracted the sample data..
>> ftp://surfer.nmr.mgh.harvard.edu/pub/data/MNE-sample-data-processed.tar.gz
>> into the root directory of the repository.
>>
>> I also noticed that there is a different sample data package on the MNE
>> Software Downloads visible after registering.
>>
>> MNE-sample-data-processed.tar.gz (from the contributing to pages) is
>> 1.4G and MNE-sample-data-2.5.tar.gz (from MNE Software Downloads) is 166M.
>>
> 
> You need the test dataset. In ipython you can do:
> 
> from mne.datasets import testing
> testing.data_path()
> 
> The contributing.rst document needs to be updated:
> https://github.com/mne-tools/mne-python/issues/1573. Maybe you can work on
> it?
> 
> Mainak
> 
>>
>> I imagine the error running make results from inconsistencies in sample
>> data.
>>
>> I further see on men-python/README.md that running nosetests from the
>> repo root is recommended rather than make.
>>
>> Which is the proper manner to run the tests? Which is the correct sample
>> data? Any idea why make test fails?
>>
>> Thanks,
>> Kevin
>>
>> _______________________________________________
>> 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.
> 

Hi Mainak,

Thanks for the response. All tests are passing.

In terms of the rst discussion, I suggest removing...

1. A Unix (Linux or Mac OS) box: MNE command line utilities and
Freesurfer that are required to make the best out of this toolbox
require a Unix platform.

from contributing.rst and adding a warning about .ICEauthority at the
end of...

Note that the first time this is run, the mne-python sample dataset
(~1.2 GB) will be downloaded to the root directory and extracted. This
is necessary for running some of the tests and nearly all of the examples.

I would not version control large binary data files and continue to
gitignore them.

-Kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x8A61431E.asc
Type: application/pgp-keys
Size: 11239 bytes
Desc: not available
Url : http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20140927/b7fce150/attachment.bin 


More information about the Mne_analysis mailing list