LAAC-LSCP / ChildProject

Python package for the management of day-long recordings of children.
https://childproject.readthedocs.io
MIT License
13 stars 5 forks source link

Pre-filled EAF open once and then crashes: create default tier type #382

Closed William-N-Havard closed 2 years ago

William-N-Havard commented 2 years ago

When creating a pre-filled EAF (e.g. with VTC annotations) when using a user-defined template, the tier type 'transcription' might not exist in the EAF https://github.com/LAAC-LSCP/ChildProject/blob/eb23b31070b792166adf76608a2462778ee3986d/ChildProject/pipelines/eafbuilder.py#L33 This will cause the VTC- and code_sampler tier to be attributed a random tier type which might conflict with their time-alignable status.

To solve this problem, we should create default tier type (e.g. "child_project_default") which would be time-alignable. This tier type should be use for VTC-* and code_random tiers.