open-cogsci / eyelinkparser

A parser for EyeLink data files, built on python-datamatrix
GNU General Public License v3.0
20 stars 10 forks source link

Support For Newer Versions #1

Closed mlellouch closed 2 years ago

mlellouch commented 2 years ago

Hey, very useful library!

However it seems it doesn't support newer versions of edf2asc. This is apparent for example in cases like: MSG 1031034 start_trial 0 are now MSG 1516000 TRIALID 1

edit: I'll probably do this myself, so expect a pull request :)

smathot commented 2 years ago

Glad you find it useful! These messages are not determined by edf2asc or by EyeLinkParser, but rather by the experiment software that sends the messages. The start_trial message is just the default convention that OpenSesame uses. To override this, you can create a subclass of EyeLinkParser and reimplement is_start_trial().

I'm closing this issue, because it's not a bug as such, but feel free to ask questions on the support forum.

mlellouch commented 2 years ago

Understood, thanks a lot!