dopefishh / pympi

A python module for processing ELAN and Praat annotation files
MIT License
93 stars 39 forks source link

Parsing unknown version of ELAN spec #43

Closed mesadhan closed 3 years ago

mesadhan commented 3 years ago

Sample Code Script

import pympi
path_to_eaf = "4001.eaf"
EAF = pympi.Elan.Eaf(file_path=path_to_eaf, author='pympi')

Output

Parsing unknown version of ELAN spec... This could result in errors...

System information

Additional context I'm using Elan v6.1 to produce the *.eaf file.

dopefishh commented 3 years ago

It seems that there is a new version of the EAF file specification. You can suppress the warning by changing the third line to:

EAF = pympi.Elan.Eaf(file_path=path_to_eaf, author='pympi', suppress_version_warning=False)

I have to look into the new specification to see if something changed.