outbreak-info / outbreak.info

During outbreaks of emerging diseases such as COVID-19, efficiently collecting, sharing, and integrating data is critical to scientific research. outbreak.info is a resource to aggregate all this information into a single location.
https://outbreak.info/
GNU General Public License v3.0
33 stars 13 forks source link

GENOMICS API: tracking bad query 500 errors #199

Open flaneuse opened 3 years ago

flaneuse commented 3 years ago

Not critical to fix now, but logging them for future cleanup (maybe by @juliamullen ?)

http://kenny.scripps.edu:8888/api/prevalence?pangolin_lineage=B.1.1.1.7

flaneuse commented 3 years ago

@gkarthik In addition to checking if there's data before running the manipulation, you should also return lineage_count, proportion = 0 / not detected for things like:

https://api.outbreak.info/genomics/prevalence-by-location?pangolin_lineage=P.1&division=California&cumulative=true

BUT no results for https://api.outbreak.info/genomics/prevalence-by-location?pangolin_lineage=P.1&division=CA&cumulative=true