From cb58479a3e9c0998f6e47da3cdb55523269fe7bd Mon Sep 17 00:00:00 2001 From: David Ochoa Date: Mon, 9 Dec 2024 17:16:41 +0000 Subject: [PATCH] [Platform]: rename gwas credible set datasource (#609) --- .../AssociationsToolkit/static_datasets/dataSourcesAssoc.js | 2 +- packages/sections/src/evidence/GWASCredibleSets/index.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/platform/src/components/AssociationsToolkit/static_datasets/dataSourcesAssoc.js b/apps/platform/src/components/AssociationsToolkit/static_datasets/dataSourcesAssoc.js index eed7faea1..4a70239c6 100644 --- a/apps/platform/src/components/AssociationsToolkit/static_datasets/dataSourcesAssoc.js +++ b/apps/platform/src/components/AssociationsToolkit/static_datasets/dataSourcesAssoc.js @@ -2,7 +2,7 @@ const dataSources = [ { id: "gwas_credible_sets", sectionId: "gwasCredibleSets", - label: "GWAS credible sets", + label: "GWAS associations", aggregation: "Genetic association", aggregationId: "genetic_association", weight: 1, diff --git a/packages/sections/src/evidence/GWASCredibleSets/index.js b/packages/sections/src/evidence/GWASCredibleSets/index.js index 64a8fa54c..cc23b81e1 100644 --- a/packages/sections/src/evidence/GWASCredibleSets/index.js +++ b/packages/sections/src/evidence/GWASCredibleSets/index.js @@ -3,8 +3,8 @@ import { isPrivateEvidenceSection } from "../../utils/partnerPreviewUtils"; const id = "gwas_credible_sets"; export const definition = { id, - name: "GWAS credible sets", - shortName: "GC", + name: "GWAS associations", + shortName: "GW", hasData: data => data.gwasCredibleSets.count > 0, isPrivate: isPrivateEvidenceSection(id), };