Skip to content

Commit

Permalink
feat(browser): remove frac>20 from variant page table
Browse files Browse the repository at this point in the history
  • Loading branch information
rileyhgrant committed Apr 18, 2024
1 parent d94c13b commit f6340af
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions browser/src/VariantPage/VariantOccurrenceTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -463,29 +463,6 @@ export const GnomadVariantOccurrenceTable = ({
{showTotal && <td />}
</tr>
)}
{isV4(datasetId) && (
<tr>
<th scope="row">
{/* @ts-expect-error TS(2322) FIXME: Type '{ children: Element; tooltip: string; }' is ... Remove this comment to see the full error message */}
<TooltipAnchor tooltip="Fraction of individuals with >20x coverage at this variant's locus">
{/* @ts-expect-error TS(2745) FIXME: This JSX tag's 'children' prop expects type 'never... Remove this comment to see the full error message */}
<TooltipHint>Fraction of individuals with &gt;20x coverage</TooltipHint>
</TooltipAnchor>
</th>
{/* TODO: this logic can be extracted into a helper, and cleaned for clarity, todo after V4 mvp launch */}
{variant.exome ? (
<td>{exomeCoverage.over20 !== null ? exomeCoverage.over20.toFixed(1) : '–'}</td>
) : (
<td />
)}
{variant.genome ? (
<td>{genomeCoverage.over20 !== null ? genomeCoverage.over20.toFixed(1) : '–'}</td>
) : (
<td />
)}
{showTotal && <td />}
</tr>
)}
</tbody>
</Table>
{(hasLowAlleleNumberInExomes || hasLowAlleleNumberInGenomes) && (
Expand Down

0 comments on commit f6340af

Please sign in to comment.