SwatPhonLab / UltraTrace

A Free/Open-Source tool for manual annotation of Ultrasound Tongue Imaging data.
GNU General Public License v3.0
10 stars 5 forks source link

reload metadata #152

Open jonorthwash opened 3 years ago

jonorthwash commented 3 years ago

A little refresh button somewhere up in the "Recording" section that does the following:

jonorthwash commented 5 months ago

This will involve separating out the "scan project" code into a separate function, and having both the startup code and the "reload metadata" / "rescan project" button (I think I like the latter name) call it.

I believe the "scan project" code is approximately this section: https://github.com/SwatPhonLab/UltraTrace/blob/38b43b40311e8061adac4eb79365e6c626faf04b/ultratrace/modules/metadata.py#L64-L150)

The definition of MIMEs should be moved to outside of this function, as a static variable. Note also that the MIME stuff will interact with #179.