lina-usc / pylossless

🧠 EEG Processing pipeline that annotates continuous data
https://pylossless.readthedocs.io/en/latest/
MIT License
24 stars 8 forks source link

BUG: Dashboard errors when switching bt files (using dropdown) #47

Closed scott-huberty closed 1 year ago

scott-huberty commented 1 year ago

I've hit: index Error: index 0 is out of bounds for axis 0 with size 0 Here: https://github.com/lina-usc/pylossless/blob/3216d7b869bf0fd19afa22a2173c8b74cf6137b0/pylossless/dash/topo_viz.py#L183-L186

When switching from sub-02 to sub-01.

And i've hit:

Assertion Error Here: https://github.com/lina-usc/pylossless/blob/3216d7b869bf0fd19afa22a2173c8b74cf6137b0/pylossless/dash/mne_visualizer.py#L307

When switching from sub-01 to sub-02

scott-huberty commented 1 year ago

Closing this as the issue seems to have been fixed by a previous PR.