Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: show only unique rows #680

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions web/src/api/genomics.js
Original file line number Diff line number Diff line change
Expand Up @@ -1957,13 +1957,8 @@ export const getLocationTable = (

const variantQueries = mutations.map((d) => d.query);

return forkJoin([
getCumPrevalence(apiurl, pangoQuery, location, totalThreshold),
getCumPrevalenceQueryLoop(apiurl, variantQueries, location, totalThreshold),
]).pipe(
map(([lineages, variants]) => {
let results = lineages.concat(variants);
// add in the labels and the type (VOC, VOI, etc.)
return getCumPrevalenceQueryLoop(apiurl, variantQueries, location, totalThreshold).pipe(
map(results => {
results.forEach((d) => {
const filtered = mutations.filter(
(mut) =>
Expand Down