diff --git a/changes/fix_irrelevantSample.md b/changes/fix_irrelevantSample.md new file mode 100644 index 00000000..ff7dcbe9 --- /dev/null +++ b/changes/fix_irrelevantSample.md @@ -0,0 +1 @@ +Items that have an assay but do not have any metrics should not be displayed on the Case QC Report diff --git a/ts/case-report.ts b/ts/case-report.ts index 6852c5d0..2a7799d2 100644 --- a/ts/case-report.ts +++ b/ts/case-report.ts @@ -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 [