[Mne_analysis] raw.append returning NoneType?

Per Arnold Lysne lysne at unm.edu
Sun Nov 9 16:22:31 EST 2014
Search archives:

?Hello,


    I am trying to append two raw files and then write their combination into a third file as follows (see https://mail.nmr.mgh.harvard.edu/pipermail//mne_analysis/2013-July/001569.html ):


import mne


raw1 = mne.io.raw(raw_file_name_1)

raw2 = mne.io.raw(raw_file_name_2)


raw = raw1.append(raw2)


raw.save(combined_file_name)


But receive the following error at the 'save' step: AttributeError: 'NoneType' object has no attribute 'save'


This feels like something obvious, but I can't seem to find it. I am running the python code from the development tree, downloaded about a month ago. I think the relevant file is io/base.py, which is as follows:


-rw-rw-r-- 1 lysne lysne 75207 Oct 11 13:35 base.py


Thanks for everyone's help,


Per Lysne

University of New Mexico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20141109/69cc325c/attachment.html 


More information about the Mne_analysis mailing list