From 52969a428b95aaec6fb2caa770f0a6d763bcd756 Mon Sep 17 00:00:00 2001 From: bbimber Date: Wed, 9 Sep 2026 09:38:42 -0700 Subject: [PATCH] Correct error in SQL --- GeneticsCore/resources/queries/geneticscore/mhc_data_source.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GeneticsCore/resources/queries/geneticscore/mhc_data_source.sql b/GeneticsCore/resources/queries/geneticscore/mhc_data_source.sql index 5eb5501e1..ea6f7a8c0 100644 --- a/GeneticsCore/resources/queries/geneticscore/mhc_data_source.sql +++ b/GeneticsCore/resources/queries/geneticscore/mhc_data_source.sql @@ -28,7 +28,7 @@ SELECT count(*) as totalTests, cast('POS' as varchar) as result, cast('SBT' as varchar) as assaytype, - a.analysisId.readset.libraryType as librarytype, + group_concat(DISTINCT a.analysisId.readset.libraryType, ',') as librarytype, sum(a.result) / (SELECT count(DISTINCT a2.analysisId) as total FROM assay.GenotypeAssay.Genotype.Data a2 WHERE a2.subjectId = a.subjectId AND a2.run.assayType = 'SBT' ) AS score, FROM assay.GenotypeAssay.Genotype.Data a