Skip to content
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

Problem loading EDF+ Patientname with Subfields starting with 'X' e.g. PatientCode='XYZ' #157

Closed
TomBruCNS opened this issue Jan 13, 2022 · 0 comments · Fixed by #158
Closed

Comments

@TomBruCNS
Copy link

Hi! I just reportet an issue in the EDF C Library

https://gitlab.com/Teuniz/EDFlib/-/issues/10
https://gitlab.com/Teuniz/EDFlib/-/commit/8eb78c259e05cfaa9cb4a874ce2d20f96c755798

I think here is the same issue:

if(edfhdr->patient[p]=='X')
should be
if(edfhdr->patient[p]=='X' && edfhdr->patient[p+1]==' ' )

Regards,
Thomas

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 a pull request may close this issue.

1 participant