HumanSignal / label-studio-converter

Tools for converting Label Studio annotations into common dataset formats
https://labelstud.io/
262 stars 130 forks source link

TSV export error: exported to CSV #126

Open stellarway opened 2 years ago

stellarway commented 2 years ago

Hi. When exporting NER task files in the TSV format, the file name comes out 'project-example.csv' (It should be 'project-example.tsv') The output 'project-example.csv' acts like tsv files, but it has an incorrect name. I guess it related to these lines: https://github.com/heartexlabs/label-studio-converter/blob/e3c2e2f810a3c12bc53d1e28107b74f27b2f9570/label_studio_converter/converter.py#L164 https://github.com/heartexlabs/label-studio-converter/blob/e3c2e2f810a3c12bc53d1e28107b74f27b2f9570/label_studio_converter/converter.py#L391 Thanks.

makseq commented 2 years ago

Hi! Thank you for your findings. Could you please create a PR with this fix?