Skip to content

Commit

Permalink
[GLT-4312] fix irrelevant items shown on Case QC Report (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
djcooke authored Dec 6, 2024
1 parent 985309e commit 694c4ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions changes/fix_irrelevantSample.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Items that have an assay but do not have any metrics should not be displayed on the Case QC Report
2 changes: 2 additions & 0 deletions ts/case-report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,8 @@ function getReportSamples(
if (reportSamples.length) {
return reportSamples;
}
// Sample has an assay, but no metrics - don't display
return [];
}
// Sample doesn't qualify for any subcategory; include it with no metrics
return [
Expand Down

0 comments on commit 694c4ac

Please sign in to comment.