label-studio-converter icon indicating copy to clipboard operation
label-studio-converter copied to clipboard

TSV export error: exported to CSV

Open stellarway opened this issue 2 years ago • 1 comments

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.

stellarway avatar Aug 25 '22 04:08 stellarway

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

makseq avatar Aug 27 '22 00:08 makseq