dopefishh / pympi

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

Extraction function is bugged #17

Closed hadware closed 5 years ago

hadware commented 5 years ago

The Eaf.extract function has a bug that renders it completely useless:

Line 478 of theelan.py file should be

eaf_out.remove_annotation(t, (ae - ab)//2, False)

Correct me if i'm mistaken, I'll pull-request a fix if you wish and if it makes sense to you.

dopefishh commented 5 years ago

I think you are right. You are very welcome to make a pull request.

hadware commented 5 years ago

Very well, I'll take care of it ASAP.