Skip to content

Comments

Type improvement#13671

Open
1himan wants to merge 2 commits intomne-tools:mainfrom
1himan:fix#13597
Open

Type improvement#13671
1himan wants to merge 2 commits intomne-tools:mainfrom
1himan:fix#13597

Conversation

@1himan
Copy link
Contributor

@1himan 1himan commented Feb 20, 2026

Reference issue - Fixes #13597.

Fixes the type error:
image

which previously would've looked like:
image

@1himan
Copy link
Contributor Author

1himan commented Feb 21, 2026

Okay I only see this now. There's already a typing utility in the repo. Would it be better if we add more elaborated types there? and import the type hints from there or mne.typing as suggested by @larsoner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Type hints for mne.preprocessing.ICA() are narrower than their runtime behavior and documented usage.

2 participants