Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
elissa-alarmani committed Sep 12, 2024
1 parent 0ded8a0 commit 33f8b1e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions browser/src/VariantPage/VariantSiteQualityMetrics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1208,7 +1208,7 @@ const VariantSiteQualityMetricsTable = ({

const availableMetrics = getAvailableMetrics(datasetId)

const logScaleMetrics = ['SiteQuality', 'AS_QUALapprox', 'QUALapprox', 'DP', 'AS_VarDP']
// const logScaleMetrics = ['SiteQuality', 'AS_QUALapprox', 'QUALapprox', 'DP', 'AS_VarDP']

return (
// @ts-expect-error TS(2769) FIXME: No overload matches this call.
Expand All @@ -1228,11 +1228,7 @@ const VariantSiteQualityMetricsTable = ({
{exomeMetricValues && metric in exomeMetricValues && isVariantInExomes && (
<td>
{exomeMetricValues![metric] != null
? formatMetricValue(
exomeMetricValues![metric],
metric,
logScaleMetrics.includes(metric)
)
? formatMetricValue(exomeMetricValues![metric], metric, logScaleMetrics(metric))
: '–'}
</td>
)}
Expand All @@ -1242,7 +1238,7 @@ const VariantSiteQualityMetricsTable = ({
? formatMetricValue(
genomeMetricValues![metric],
metric,
logScaleMetrics.includes(metric)
logScaleMetrics(metric)
)
: '–'}
</td>
Expand Down

0 comments on commit 33f8b1e

Please sign in to comment.