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

Error parsing Emotiv files: "Unsupported EDF type: 2022-" with 0.6.0 #34

Open
amangeot opened this issue Jun 22, 2023 · 0 comments
Open

Comments

@amangeot
Copy link

Hello,
I started using your library to parse EDF files, it works great, thank you.

The following code parses EDF files just fine with 0.5.1, though it stopped working with 0.6.0:

new edfjs.EDF().from_file(file)

An error is thrown saying Unsupported EDF type: 2022- from this commit here and the following code:

assert(['EDF', 'EDF+C'].includes(this.type), `Unsupported EDF type: ${this.type}`);

Here is a link to an EDF file which produces an error:
https://drive.google.com/file/d/12LDMH3dZ07DCiyflxjCHA0vNPyOaUuoU/view?usp=sharing

This is a file downloaded from EmotivPro software, is it Emotiv not following EDF standards?

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

No branches or pull requests

1 participant