Skip to content

Commit

Permalink
fix display of 0 bins
Browse files Browse the repository at this point in the history
  • Loading branch information
phildarnowsky-broad committed Jan 13, 2025
1 parent ca378af commit e430b33
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -87,7 +87,7 @@ const colorMap: Record<ColorBy | '', Record<string, string>> = {
'not-reviewed': '#aaaaaa',
},
q_score: {
'0.0': '#ff0000',
'0': '#ff0000',
'0.1': '#ff3300',
'0.2': '#ff6600',
'0.3': '#ff9900',
Expand Down Expand Up @@ -127,7 +127,7 @@ const qualityDescriptionLabels: Record<GenotypeQuality, string> = {
}

const qScoreLabels: Record<QScoreBin, string> = {
'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',
Expand Down

0 comments on commit e430b33

Please sign in to comment.