From d41bdb4c36df47cf6675dc8b2a3ecfc279227014 Mon Sep 17 00:00:00 2001 From: Riley Grant Date: Fri, 17 May 2024 13:13:13 -0500 Subject: [PATCH] wip(browser): correct populations per dataset --- .../__snapshots__/VariantPage.spec.tsx.snap | 46 +++++++++---------- dataset-metadata/gnomadPopulations.ts | 6 +-- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/browser/src/VariantPage/__snapshots__/VariantPage.spec.tsx.snap b/browser/src/VariantPage/__snapshots__/VariantPage.spec.tsx.snap index 4743e7d84..f108a8da3 100644 --- a/browser/src/VariantPage/__snapshots__/VariantPage.spec.tsx.snap +++ b/browser/src/VariantPage/__snapshots__/VariantPage.spec.tsx.snap @@ -951,7 +951,7 @@ exports[`VariantPage with the dataset "gnomad_r3" has no unexpected changes 1`] onClick={[Function]} type="button" > - Admixed American + European (Finnish) - European + Admixed American - Remaining + Remaining individuals - Admixed American + European (Finnish) - European + Admixed American - Remaining + Remaining individuals - Admixed American + European (Finnish) - European + Admixed American - Remaining + Remaining individuals - Admixed American + European (Finnish) - European + Admixed American - Remaining + Remaining individuals - Admixed American + European (Finnish) - European + Admixed American - Remaining + Remaining individuals - Admixed American + European (Finnish) - European + Admixed American - Remaining + Remaining individuals - Remaining + Remaining individuals - Remaining + Remaining individuals - Remaining + Remaining individuals - Remaining + Remaining individuals - Remaining + Remaining individuals textOrMissingTextWarning('genetic ancestry group name', GNOMAD_POPULATION_NAMES, populationId) const ExACPopulations: PopulationId[] = ['sas', 'afr', 'amr', 'eas', 'fin', 'nfe', 'remaining'] -const v2Populations: PopulationId[] = ['amr', 'nfe', 'afr', 'asj', 'eas', 'fin', 'sas', 'remaining'] +const v2Populations: PopulationId[] = ['amr', 'nfe', 'afr', 'asj', 'eas', 'fin', 'sas', 'oth'] const v3Populations: PopulationId[] = [ 'nfe', + 'fin', 'amr', - 'eur', 'ami', 'eas', 'mid', 'afr', 'sas', 'asj', - 'remaining', + 'oth', ] const v4Populations: PopulationId[] = [ 'afr',