Skip to content

Commit

Permalink
Return dash when logRatio is undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaofei Zhao committed Jun 7, 2021
1 parent c4c2322 commit 1817eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/resultsView/enrichments/EnrichmentsUtil.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ export function getAlterationEnrichmentColumns(
),
sortBy: (d: AlterationEnrichmentRow) => Number(d.logRatio),
download: (d: AlterationEnrichmentRow) =>
formatLogOddsRatio(d.logRatio!),
d.logRatio ? formatLogOddsRatio(d.logRatio) : '-',
});

enrichedGroupColum.tooltip = (
Expand Down

0 comments on commit 1817eb7

Please sign in to comment.