-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to match label with EEG_
(or anything_
)
#70
Comments
interestingly, if instead i replace |
Root cause of this is that the regex we use to separate the signal and label is Line 149 in 1ec9351
Specifically, |
AFAICT the only thing we're using the extracted |
The spec isn't super clear on this. The EDF+ spec talks about a "standard 'label' text" but it's not obvious that labels are REQUIRED to have this structure (some of the samples they provide do not)
that being said, it's pretty clear that the EDF+ "standard" has an opinion that the signal/sensor spec separator shoudl be a space, but in practice we don't always see that (e.g. the example above from an open sleep dataset...) |
This is a bit complicated unfortunately, since the signal itself may contain |
I have a header that looks a bit like this:
specifically, the label has an
EEG_
prefix (same issue arises withECG_
etc.), and it cannot be matched unless I manually get rid of theEEG_
.The text was updated successfully, but these errors were encountered: