[Mne_analysis] Split file saving doesn't work
Lau Møller Andersen
lau.andersen at cnru.dk
Thu May 7 03:07:18 EDT 2020
External Email - Use Caution
Hi Eric
That actually make the trick, so it is likely it is as you describe.
Thanks a lot for your suggestion!
@Alex: are you still interested in having an anonymous copy of the file?
All the best
Lau
Den 06.05.2020 kl. 17.17 skrev Eric Larson:
>
> External Email - Use Caution
>
> I suspect I understand why this can happen from the code -- we
> calculate the splits using just the size of the actual data, but end
> up writing that plus other things (drop log, metadata, etc.) which can
> push it beyond the 2GB limit. For now you can do something like
> `split_size='1.9GB'` to work around the problem, but hopefully we can
> cook up a proper fix for it soon.
>
> Eric
>
>
> On Wed, May 6, 2020 at 8:51 AM Alexandre Gramfort
> <alexandre.gramfort at inria.fr <mailto:alexandre.gramfort at inria.fr>> wrote:
>
> External Email - Use Caution
>
> hi Lau,
>
> please open an issue and make the file available.
>
> you can save it in .h5 format so we can debug the fif IO
>
> Alex
>
> On Wed, May 6, 2020 at 2:13 PM Lau Møller Andersen
> <lau.andersen at cnru.dk <mailto:lau.andersen at cnru.dk>> wrote:
> >
> > External Email - Use Caution
> >
> > Dear list
> >
> > Every now and then I cannot save my epochs objects due to this
> error. This happens only for one of my subjects (out of thirty)
> and only on one particular (bandpass filtered and hilbert
> transformed) raw file. I have tried both the development version
> and newest stable version.
> >
> > I guess it should take care of it automatically as I didn't
> change the default split size of 2GB of epochs_hilbert.save()
> >
> > All the best
> >
> > Lau
> >
> > _______________________________________________
> > Mne_analysis mailing list
> > Mne_analysis at nmr.mgh.harvard.edu
> <mailto: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
> <mailto: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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200507/cfb8adb2/attachment-0001.html
More information about the Mne_analysis
mailing list