From e19299792a175836d5cb4a4ff7106fe09e5d3d12 Mon Sep 17 00:00:00 2001 From: Phil Darnowsky Date: Tue, 10 Dec 2024 15:10:16 -0500 Subject: [PATCH] fix display of 0 bins --- .../ShortTandemRepeatAlleleSizeDistributionPlot.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/browser/src/ShortTandemRepeatPage/ShortTandemRepeatAlleleSizeDistributionPlot.tsx b/browser/src/ShortTandemRepeatPage/ShortTandemRepeatAlleleSizeDistributionPlot.tsx index e7c45c7a5..458f4646d 100644 --- a/browser/src/ShortTandemRepeatPage/ShortTandemRepeatAlleleSizeDistributionPlot.tsx +++ b/browser/src/ShortTandemRepeatPage/ShortTandemRepeatAlleleSizeDistributionPlot.tsx @@ -47,7 +47,7 @@ export const genotypeQualityKeys = [ export type GenotypeQuality = (typeof genotypeQualityKeys)[number] export const qScoreKeys = [ - '0.0', + '0', '0.1', '0.2', '0.3', @@ -87,7 +87,7 @@ const colorMap: Record> = { 'not-reviewed': '#aaaaaa', }, q_score: { - '0.0': '#ff0000', + '0': '#ff0000', '0.1': '#ff3300', '0.2': '#ff6600', '0.3': '#ff9900', @@ -127,7 +127,7 @@ const qualityDescriptionLabels: Record = { } const qScoreLabels: Record = { - '0.0': '0 to 0.05', + '0': '0 to 0.05', '0.1': '0.05 to 0.15', '0.2': '0.15 to 0.25', '0.3': '0.25 to 0.35',