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

Initialize LSL Client without info specification #28

Closed
timonmerk opened this issue Mar 17, 2021 · 0 comments
Closed

Initialize LSL Client without info specification #28

timonmerk opened this issue Mar 17, 2021 · 0 comments

Comments

@timonmerk
Copy link
Contributor

timonmerk commented Mar 17, 2021

When a LSLClient class get's instantiated, e.g. in such way with LSLClient(host="openbci_eeg_id255", wait_max=wait_max) as client:, the base client throws the following error:

File "C:\Users\ICN_admin\Anaconda3\envs\MNERealTime\lib\site-packages\mne_realtime\base_client.py", line 79, in enter
self.info = self._create_info()

File "C:\Users\ICN_admin\Anaconda3\envs\MNERealTime\lib\site-packages\mne_realtime\lsl_client.py", line 129, in _create_info
info = create_info(ch_names, sfreq, ch_types, montage=montage)

TypeError: create_info() got an unexpected keyword argument 'montage'

The recent create_info actually doesn't have the montage parameter https://mne.tools/stable/generated/mne.create_info.html and throws a TypeError instead of a ValueError in lsl_client.py

I adapted this in the second commit in PR #25

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