-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_5_make_epochs fails with critical error #785
Comments
Hello! 👋 Thanks for opening your first issue here! ❤️ We will try to get back to you soon. 🚴🏽♂️ |
Hello @hyruuk, could you set |
Hi ! Oops yeah I had interactive mode active that's why I couldn't see the full traceback, thanks.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of the problem
mne_bids_pipeline fails to segment my data based on event markers.
Steps to reproduce
Run mne_bids_pipeline on the following BIDS data sample (the configuration file have been saved in the report)
Link to data
https://u.pcloud.link/publink/show?code=XZJyGaVZGY8wcRMFIR7tXQ4KjkRzkBlH053X
Expected results
The pipeline should produce an epoched file.
Actual results
The pipeline crashes when asserting that some time window is not void of events (it apparently is).
The _5_make_epochs script never completes.
Investigating more, I find that the metadata dataframe generated in the MNE call is suspicious (contains all NaNs and values of ~0.5 or ~1 when I would expect timing onsets in seconds - if I understand correctly), although events_df looks fine and contains correct events and sample indexes.
Additional information
Platform Linux-5.15.0-79-generic-x86_64-with-glibc2.35
Python 3.11.5 | packaged by conda-forge | (main, Aug 27 2023, 03:34:09) [GCC 12.3.0]
Executable /home/hyruuk/mambaforge/envs/saflow/bin/python3.11
CPU x86_64 (8 cores)
Memory 31.1 GB
Core
├☑ mne 1.5.0
├☑ numpy 1.24.4 (OpenBLAS 0.3.23 with 8 threads)
├☑ scipy 1.11.2
├☑ matplotlib 3.7.2 (backend=agg)
├☑ pooch 1.7.0
└☑ jinja2 3.1.2
Numerical (optional)
├☑ sklearn 1.3.0
├☑ numba 0.57.1
├☑ nibabel 5.1.0
├☑ nilearn 0.10.1
├☑ dipy 1.7.0
├☑ openmeeg 2.5.6
├☑ pandas 2.0.3
└☐ unavailable cupy
Visualization (optional)
├☑ pyvista 0.41.1 (OpenGL 4.6 (Core Profile) Mesa 23.0.4-0ubuntu1~22.04.1 via Mesa Intel(R) Iris(R) Plus Graphics (ICL GT2))
├☑ pyvistaqt 0.0.0
├☑ ipyvtklink 0.2.2
├☑ vtk 9.2.6
├☑ qtpy 2.3.1 (PyQt5=5.15.8)
├☑ pyqtgraph 0.13.3
├☑ mne-qt-browser 0.5.2
└☐ unavailable ipympl
Ecosystem (optional)
├☑ mne-bids 0.13
├☑ mne-bids-pipeline 1.4.0
└☐ unavailable mne-nirs, mne-features, mne-connectivity, mne-icalabel
The text was updated successfully, but these errors were encountered: