legumeinfo / gcv

Federating genomes with love (and synteny derived from functional annotations)
https://gcv.legumeinfo.org/
Apache License 2.0
40 stars 12 forks source link

Sources should be their own params #221

Closed alancleary closed 4 years ago

alancleary commented 5 years ago

Currently the sources to load data from are part of the QueryParams model, which is supposed to be model representing the parameters for micro-track requests. In practice, the sources parameter is actually dictates what data providers ALL data is loaded from (chromosomes, pairwise synteny blocks, genes, etc). For this reason, sources should be abstracted into its own model.

alancleary commented 4 years ago

Done in commit 9830d73da414abdbd2b7e2f38e08955cbf61e101.