Skip to content

docs: fix incorrect import path in CONTRIBUTING.md (model.base -> models.base) - #1033

Merged
bruAristimunha merged 4 commits into
braindecode:masterfrom
YihengLi-1:fix-contributing-import-path
Jun 8, 2026
Merged

bruAristimunha merged 4 commits into
braindecode:masterfrom
YihengLi-1:fix-contributing-import-path

Conversation

@YihengLi-1

Copy link
Copy Markdown
Contributor

Summary

The "Adding a model to Braindecode" section of CONTRIBUTING.md imports
EEGModuleMixin from braindecode.model.base (singular model). That module
does not exist — EEGModuleMixin is defined in braindecode/models/base.py
(plural models). A new contributor copy-pasting the template currently hits
ModuleNotFoundError: No module named 'braindecode.model'.

This PR corrects the two occurrences to the proper braindecode.models.base.

Changes

  • CONTRIBUTING.md: braindecode.model.base → braindecode.models.base
    in two places (the model template and the explanation snippet).

Verification

>>> from braindecode.models.base import EEGModuleMixin   # works
>>> from braindecode.model.base import EEGModuleMixin    # ModuleNotFoundError

Docs-only change; no code, API, or tests affected.

@bruAristimunha

Copy link
Copy Markdown
Collaborator

The failure is not related to the modification, and should be ignored... it is just a transitive download problem.

@bruAristimunha
bruAristimunha merged commit 95b5bc5 into braindecode:master Jun 8, 2026
9 of 10 checks passed
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

Successfully merging this pull request may close these issues.

3 participants