[Mne_analysis] Renaming a split file

Lau Møller Andersen lau.andersen at cnru.dk
Wed Jul 29 08:18:38 EDT 2020
Search archives:

        External Email - Use Caution        

Hi Alex

Exactly, thanks! That was what I was fearing - I was reluctant to start 
editing the fif files, as it doesn't exactly seems easy - For now I've 
chosen to load and save with a different name, even though it is quite 
some processing time for my present data set,,

Best

Lau

Den 29.07.2020 kl. 14.08 skrev Alexandre Gramfort:
>          External Email - Use Caution
>
> hi Lau,
>
> you want to do this without writing the files again?
> If so you would need to update the fif file inplace.
>
> Alex
>
> On Wed, Jul 29, 2020 at 10:28 AM Lau Møller Andersen
> <lau.andersen at cnru.dk> wrote:
>>          External Email - Use Caution
>>
>> Dear MNE community
>>
>> When renaming split files outside of MNE-Python (say by issuing a bash command), it is no longer possible to read those files with, say, mne.read_epochs, because it is still looking for the original name of the file (see attached script). Is it possible to change the information in the FIFF file by using any of MNE-Python's functions such that it looks for the renamed filename instead of the original name?
>>
>> All the best
>>
>> Lau
>>
>> _______________________________________________
>> 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



More information about the Mne_analysis mailing list