You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mne\export\tests\test_export.py:305: in test_channel_label_too_long_for_edf_raises_error
raw.export(tmp_path / "test.edf")
<decorator-gen-346>:12: in export
???
mne\io\base.py:1792: in export
export_raw(
<decorator-gen-599>:12: in export_raw
???
mne\export\_export.py:74: in export_raw
from ._edf import _export_raw
mne\export\_edf.py:14: in <module>
from edfio._utils import round_float_to_8_characters # noqa: E402
E ModuleNotFoundError: No module named 'edfio._utils'
Sorry for breaking this in the-siesta-group/edfio#37! We can think about making this a part of edfio's public API, or, for a quicker fix, I could open a PR to copy the function to mne/export/_edf.py... which option do you prefer?
Either way is fine with me but a fix that would work for all edfio versions would be to copy the function over here (especially if it's only a couple of lines). I was about to add a skip in #12520 but instead I'll try that!
Activity
hofaflo commentedon Mar 29, 2024
Sorry for breaking this in the-siesta-group/edfio#37! We can think about making this a part of edfio's public API, or, for a quicker fix, I could open a PR to copy the function to
mne/export/_edf.py... which option do you prefer?larsoner commentedon Mar 29, 2024
Either way is fine with me but a fix that would work for all edfio versions would be to copy the function over here (especially if it's only a couple of lines). I was about to add a skip in #12520 but instead I'll try that!
hofaflo commentedon Mar 29, 2024
👍
It's rather short and can be simplified a bit as mne only uses one way of rounding: