loculus-project / loculus

An open-source software package to power microbial genomic databases
https://loculus.org
GNU Affero General Public License v3.0
34 stars 1 forks source link

feat(website): Only count latest versions for stats on main page #2814

Closed theosanderson closed 2 days ago

theosanderson commented 2 days ago

https://only-count-latest-version.loculus.org/

Taepper commented 2 days ago

~~How about changing the '+ count' to the following: Number of accessions that had any new version added within the last 30 days. -> this would mean that we do not count multiple versions for the same accession multiple times~~

Nevermind, I missed that getRecent only counts version 1s anyways

theosanderson commented 2 days ago

I tested that this is working and I now believe there are (almost) no edge cases 🥳