Skip to content
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

Occasional ValueError: need at least one array to concatenate while recording #182

Open
Saad-Mufti opened this issue Aug 2, 2022 · 0 comments

Comments

@Saad-Mufti
Copy link

Saad-Mufti commented Aug 2, 2022

While recording EEG data, sometimes I get the following issue:

Traceback (most recent call last):
  File "c:\Users\...\muse-send.py", line 55, in <module>
    muselsl.record(t_step, file_name)
  File "C:\Users\...\AppData\Roaming\Python\Python39\site-packages\muselsl\record.py", line 93, in record
    _save(
  File "C:\Users\...\AppData\Roaming\Python\Python39\site-packages\muselsl\record.py", line 137, in _save
    res = np.concatenate(res, axis=0)
  File "<__array_function__ internals>", line 5, in concatenate
ValueError: need at least one array to concatenate

For reference, I am using Python 3.9.5, Windows 11, and muselsl=2.2.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant