Skip to content

Commit

Permalink
- Merge branch 'develop' into release/v6.29.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bnguyen-bcgsc committed Apr 5, 2024
2 parents 2722da3 + ccd0ffd commit a4275a8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions app/components/SummaryPrintTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const variantToStrings: Dictionary<string> = {
cnv: 'CNV',
smallMutation: 'Small Mutation',
structuralVariant: 'Structural Variant',
expression: 'Expression',
expression: 'Expression Outlier',
};

const SummaryPrintTable = ({
Expand All @@ -31,7 +31,7 @@ const SummaryPrintTable = ({
{data.filter((key) => (key.value !== null && key.value !== '')).map(({ [labelKey]: label, [valueKey]: value }) => (
<TableRow>
<TableCell>
<Typography variant="body2" fontWeight="bold">{variantTypes.includes(String(label)) ? variantToStrings[String(label)] : label}</Typography>
<Typography variant="body2" fontWeight="bold">{variantTypes.includes(String(label)) ? `${variantToStrings[String(label)]}${Object.values(value).length > 1 ? 's' : ''}` : label}</Typography>
</TableCell>
<TableCell sx={{ paddingLeft: 1 }}>
{renderValue ? renderValue(value) : value}
Expand Down
2 changes: 1 addition & 1 deletion app/views/PrintView/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

.printbeta {
&__logo {
max-width: 150px;
max-width: 250px;
}

&__headers {
Expand Down
2 changes: 1 addition & 1 deletion app/views/ReportView/components/GenomicSummary/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ const GenomicSummary = ({
tCellCd8?.pedsScoreComment ? tCellCd8?.pedsScoreComment : null,
},
{
term: 'Mutation Signature',
term: 'Mutation Signatures',
value: sigs,
action: !isPrint ? () => history.push('mutation-signatures') : null,
},
Expand Down
4 changes: 0 additions & 4 deletions app/views/ReportView/components/RapidSummary/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -366,10 +366,6 @@ const RapidSummary = ({
term: 'Mutation Burden',
value: primaryBurden && primaryBurden.totalMutationsPerMb !== null && (!tmburMutBur?.adjustedTmb || tmburMutBur.tmbHidden === true) ? `${primaryBurden.totalMutationsPerMb} Mut/Mb` : null,
},
{
term: 'Mutation Burden',
value: primaryBurden && primaryBurden.totalMutationsPerMb !== null && (!tmburMutBur?.adjustedTmb || tmburMutBur.tmbHidden === true) ? `${primaryBurden.totalMutationsPerMb} Mut/Mb` : null,
},
{
term: 'SV Burden (POG Average)',
value: svBurden,
Expand Down

0 comments on commit a4275a8

Please sign in to comment.