Skip to content

Bugfix/devsu 2539 include nonkbmatched variants in table3#468

Merged
elewis2 merged 3 commits into
developfrom
bugfix/DEVSU-2539-include-nonkbmatched-variants-in-table3
Oct 31, 2025
Merged

Bugfix/devsu 2539 include nonkbmatched variants in table3#468
elewis2 merged 3 commits into
developfrom
bugfix/DEVSU-2539-include-nonkbmatched-variants-in-table3

Conversation

@elewis2

@elewis2 elewis2 commented Oct 31, 2025

Copy link
Copy Markdown
Collaborator

In the rapid reports summary page, for table 3 only, include variants if the genes they are associated with have tumourSuppressor = true, cancerGeneListMatch = true, or oncgene = true, even if these variants don't have kbmatches.

await db.models.report.destroy({where: {ident: reportIdent.ident}});
});

test('Variants with no kbmatches can be put in table 3 if gene is tumourSuppressor, cancergenelist or oncogene - OK', async () => {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking: was wondering if we would like to have getRapidReportVariants() tested independently of report creation, by attaching to router._testUtils ?

mathieulemieux
mathieulemieux previously approved these changes Oct 31, 2025
@github-actions

This comment has been minimized.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.33%. Comparing base (17a3ebe) to head (5da62fb).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #468      +/-   ##
===========================================
+ Coverage    77.32%   77.33%   +0.01%     
===========================================
  Files          185      185              
  Lines         6667     6680      +13     
  Branches       826      831       +5     
===========================================
+ Hits          5155     5166      +11     
- Misses        1424     1426       +2     
  Partials        88       88              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@elewis2 elewis2 marked this pull request as ready for review October 31, 2025 21:17
@elewis2 elewis2 merged commit 8578a49 into develop Oct 31, 2025
6 checks passed
@github-actions

Copy link
Copy Markdown

Unit Test Results

    1 files  ±0    63 suites  ±0   3m 56s ⏱️ +4s
643 tests +1  642 ✔️ +1  1 💤 ±0  0 ❌ ±0 
640 runs  +1  639 ✔️ +1  1 💤 ±0  0 ❌ ±0 

Results for commit 8578a49. ± Comparison against base commit 17a3ebe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants