Skip to content

Commit e192997

Browse files
fix display of 0 bins
1 parent 67ed285 commit e192997

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

browser/src/ShortTandemRepeatPage/ShortTandemRepeatAlleleSizeDistributionPlot.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const genotypeQualityKeys = [
4747
export type GenotypeQuality = (typeof genotypeQualityKeys)[number]
4848

4949
export const qScoreKeys = [
50-
'0.0',
50+
'0',
5151
'0.1',
5252
'0.2',
5353
'0.3',
@@ -87,7 +87,7 @@ const colorMap: Record<ColorBy | '', Record<string, string>> = {
8787
'not-reviewed': '#aaaaaa',
8888
},
8989
q_score: {
90-
'0.0': '#ff0000',
90+
'0': '#ff0000',
9191
'0.1': '#ff3300',
9292
'0.2': '#ff6600',
9393
'0.3': '#ff9900',
@@ -127,7 +127,7 @@ const qualityDescriptionLabels: Record<GenotypeQuality, string> = {
127127
}
128128

129129
const qScoreLabels: Record<QScoreBin, string> = {
130-
'0.0': '0 to 0.05',
130+
'0': '0 to 0.05',
131131
'0.1': '0.05 to 0.15',
132132
'0.2': '0.15 to 0.25',
133133
'0.3': '0.25 to 0.35',

0 commit comments

Comments
 (0)