CoEDL / elpis

🙊 software for creating speech recognition models.
https://elpis.readthedocs.io/en/latest/
Apache License 2.0
152 stars 33 forks source link

prevent selection mechanism failure #305

Closed benfoley closed 2 years ago

benfoley commented 2 years ago

Dataset importer settings are determined by reading Elan files to get tier info. If a WAV file is dropped into the file upload widget first, the no imported settings are returned from the backend. The frontend was expecting a null object but it was actually undefined. This is a quick fix to prevent the selection mechanism code from running if the setting is undefined.

benfoley commented 2 years ago

fixes #298