rki-mf1 / covsonar

A database-driven system for handling genomic sequences of SARS-CoV-2 and screening genomic profiles.
GNU General Public License v3.0
6 stars 0 forks source link

Allow lineages to also be updated from local files #104

Closed matthuska closed 1 year ago

matthuska commented 1 year ago

Lately, fetching the files required to update pangolin lineage information from GitHub has been flaky and unreliable. This PR lets the user download the required files manually (alias_key.json and lineages.csv), and then update from these local files, instead of only allowing the updates from web downloads.

Also added logging output that includes the url where these files can be downloaded, in case that download fails. This lets the user know where to download the files that are needed, which can then be used to update manually.