dopefishh / pympi

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

Add argument to suppress "unknown version" warnings #35

Closed AmitMY closed 3 years ago

AmitMY commented 3 years ago

I load an eaf file:

eaf = pympi.Elan.Eaf(eaf_path)

but get a warning:

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

From: https://github.com/dopefishh/pympi/blob/master/pympi/Elan.py#L1465

Could you please add an argument to suppress version warning?

eaf = pympi.Elan.Eaf(eaf_path, supress_version_warning=True)