You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_apply_raw contains "picks = pick_types( raw.info, meg=False, include=self.ch_names, exclude="bads", ref_meg=False)"
But ICA.fit contains "picks = _picks_to_idx(inst.info, picks, allow_empty=False, with_ref_meg=self.allow_ref_meg)"
Interesting, I can train ICA on raw with bads channels
But using the same raw in the apply method I get an error that there are less channels due to bads
I just hit this issue as well, in a script that has worked previously, so at some point some change seems to have broken it. If I have the time I can try to debug (and find the corresponding commit/PR).
Activity
larsoner commentedon May 6, 2025
Any chance you could make a fully reproducible example that could be run using the
sampledataset?SearGamemode commentedon May 6, 2025
cbrnr commentedon May 30, 2025
I just hit this issue as well, in a script that has worked previously, so at some point some change seems to have broken it. If I have the time I can try to debug (and find the corresponding commit/PR).