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
{{ message }}
Repository navigation
pop_chansel duplicates parse_text_tokens and raises StopIteration on an empty quoted token #508
🤖 Found while reviewing #463; not part of that PR.
pop_chansel._parse_text (src/eegprep/functions/popfunc/pop_chansel.py) re-implements the quoted-token parsing that parse_text_tokens (src/eegprep/functions/miscfunc/value_parsing.py) already provides, and its copy still has the bug that #463 fixed in the shared helper: an empty quoted token raises.
Ordinary input such as Cz, 'Fp1' gives the same result from both.
Suggested fix: delete _parse_text and call parse_text_tokens, keeping the existing pop_chansel tests and adding one for an empty quoted token. parse_text_tokens also strips surrounding braces, so check that the channel-list text field behaves the same for {...} input.
Activity