NeuroTechX / NeuroTechX/EEG-ExPy

syntax error in muselsl

Open
#277 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
575
Forks
153
Avg merge
6h 44m
Merged PRs (30d)
3

Description

ℹ Computer information

  • Platform OS (e.g Windows, Mac, Linux etc): MAC M2
  • Python Version: 3.7
  • Brain Interface Used (e.g Muse, OpenBCI, Notion etc): Muse

📝 Provide detailed reproduction steps (if any)

We installed everything on a Mac M2 OS 14.3.1 (23D60)

✔️ Expected result

running eegnb -ip and go to the next step

❌ Actual result

when running eegnb runexp -ip (and when running the test cell as in the installation guide) we get this syntax error message (corresponding to the colon after "device")

File "/Users/USERNAME/miniconda3/envs/eeg-notebooks/lib/python3.7/site-packages/muselsl/muse.py", line 90
if ((device := self.adapter.connect(self.address, retries))

Duplicate from https://github.com/alexandrebarachant/muse-lsl/issues/216#issue-2578472803

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the syntax error using the reported Python 3.7 environment, then inspect the installation guide and the project's Python or muselsl dependency requirements. Check the duplicate muselsl issue for the compatibility context. Done means the documented installation and the eegnb runexp -ip command, including the installation-guide test cell, run without this syntax error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.