arnodelorme / mffmatlabio

MFF Matlab file importer and exporter
GNU General Public License v3.0
11 stars 15 forks source link

Slow import #13

Closed arnodelorme closed 4 years ago

arnodelorme commented 4 years ago

I used to import my EGI data with fieldtrip version 20180201 which worked fine (with egi_mff_v1) but when I switched to fieldtrip version 20190325, it uses egi_mff_v3 as default. The latter also works well except that when it used to take 1 sec per trial to be imported with V1, now it takes about 1 minute per trial with V3. The amount of time needed to import one subject in my case would be theoretically 3 hours, which is ridiculously long. I understand that the switch of version takes place in ft_read_data, which is called by ft_preprocessing, but apparently it is preproc, also called by ft_preprocessing, that takes forever to compute, but I can't explain why. I tried to manually request to use the version egi_mff_V1 but then there is an error regarding xml file, that I have not tried to explore so far.

arnodelorme commented 4 years ago

Message sent to Raphael

Would you mind to share a file so we can try to reproduce the problem. Importantly could you specify your operating system and Matlab version?

arnodelorme commented 4 years ago

Raphael did not answer.