gigascience / gigadb-website

Source code for running GigaDB
http://gigadb.org
GNU General Public License v3.0
8 stars 13 forks source link

.svg files should be saved in the database as SVG file format #1922

Open tuli opened 2 weeks ago

tuli commented 2 weeks ago

User story

As a curator I want .svg files in the spreadsheet to be uploaded to GigaDB with the format SVG rather than UNKNOWN So that they are correctly curated

Acceptance criteria

Given the Files tab of a dataset spreadsheet When a file with suffix .svg Then the file should have File Format SVG in the database

Additional Info

Screenshot 2024-06-11 at 17 07 01

See 102552 for examples.

Product Backlog Item Ready Checklist

Product Backlog Item Done Checklist

tuli commented 2 weeks ago

nb I am fixing these manually via the file admin page so that I can proceed.

only1chunts commented 2 weeks ago

This is nice idea, and there are other examples of file formats that could and should be inferred from the file extension. This ticket is related to #108 and #434 @tuli please note that this will not happen using the Excel spreadsheet uploader tool, its a possible feature for the file upload wizard.

tuli commented 1 week ago

Same issue for the following files .gff3 should be file format GFF .nwk should be file format newick .mp4 should be file format MP4