<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'><p><span style="padding: 3px 10px; border-radius: 5px; color: #ffffff; font-weight: bold; display: inline-block; background-color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p></p>
<p>Hi community,</p>
<p>I preprocessed my EEG raw data using MNE functions and created a dictionnary for all files containing information about related bad epochs and bad channels. I save it as a .pkl file using a pickle function. This "preprocessed.pkl" file was the basis for all my further analyses and it was working well before. However, now when I try to open it using the pickle.load :</p>
<div><span style="font-family: monospace; background-color: #ffffff;">import mne<br />import pyconscious as pc<br />import pickle<br />import numpy as np</span></div>
<div>&nbsp;</div>
<div><span style="font-family: monospace; background-color: #ffffff;">filename = 'preprocessed.pkl'&nbsp;<br />loadfile = open(filename,'rb')<br />fileinfo = pickle.load(loadfile)&nbsp;&nbsp;&nbsp;&nbsp; <br />loadfile.close() </span></div>
<div>&nbsp;</div>
<div>I got an error message "<span style="font-family: monospace; background-color: #ffffff;">ModuleNotFoundError: No module named 'mne._digitization'</span>". I don't understand where this comes from and when I preprocessed my data again all like before it is working, but I would like to be able to open my former preprocessing file for my analyses to go on the same basis.&nbsp;</div>
<div>&nbsp;</div>
<div>Thank you very much for your attention to my bug. I hope you can help me figure this out !</div>
<div>&nbsp;</div>
<div>Kind regards,</div>
<div>&nbsp;</div>
<div>Marthe&nbsp;</div>
<div>-- <br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Priouret Marthe<br /> ENS de Lyon</div>
</div>
</body></html>