MTG / similarity-annotator

An annotation tool for sound segmentation and similarity
Other
11 stars 2 forks source link

Download management command doesn't work for all datasets #109

Closed alastair closed 6 years ago

alastair commented 6 years ago

I tried to use the download_annotations management command to download annotations for the Riyaz dataset, but it didn't add the files to the /export directory.

It looks like the exporter expects datasets to all be in the /import directory: https://github.com/MTG/similarity-annotator/blob/34085681f547bf1ec6f2cba1af38a68c3e0b1731/annotation/management/commands/download_annotations.py#L34 but some datasets have original_filename as /riyaz_data or /mtg-shared.

Perhaps we should have a configuration option for the export directory and all exports always get stored here regardless of the first component of the filename

oriolromani commented 6 years ago

Sure, I'll do it