[Mne_analysis] Renaming a split file

Alexandre Gramfort alexandre.gramfort at inria.fr
Wed Jul 29 08:08:59 EDT 2020
Search archives:

        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



More information about the Mne_analysis mailing list