vector-engineering / covidcg

A COVID-19 CoV Genetics (CG) browser to inform therapeutics development
https://covidcg.org
MIT License
26 stars 5 forks source link

Insert Surveillance jsons into JSON Table #444

Closed favelava closed 2 years ago

favelava commented 2 years ago

Modify DB seeding to insert surveillance JSONs into the jsons table services/server/cg_server/db_seed/seed.py cur.execute( """ INSERT INTO "jsons" (key, value) VALUES (%s, %s); """, ["surveillance_group_counts", Json(...)], ) ... same for surveillance_group_regression Drop and re-seed development database