From e34d89432313c7fbf008891a5bf09797857e5f85 Mon Sep 17 00:00:00 2001 From: James Hayhurst Date: Wed, 16 Oct 2024 09:29:56 +0000 Subject: [PATCH] fix sumstat qc repr --- app/models/entities/GwasIndex.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/entities/GwasIndex.scala b/app/models/entities/GwasIndex.scala index 2696da15..b849e883 100644 --- a/app/models/entities/GwasIndex.scala +++ b/app/models/entities/GwasIndex.scala @@ -43,7 +43,7 @@ object GwasIndex extends Logging { implicit val ldPopulationStructureImp: ObjectType[Backend, LdPopulationStructure] = deriveObjectType[Backend, LdPopulationStructure]() implicit val sampleImp: ObjectType[Backend, Sample] = deriveObjectType[Backend, Sample]() - implicit val SumStatQCImp: ObjectType[Backend, SumStatQC] = deriveObjectType[Backend, SumStatQC]() + implicit val sumStatQCImp: ObjectType[Backend, SumStatQC] = deriveObjectType[Backend, SumStatQC]() val gwasFields: Seq[Field[Backend, JsValue]] = Seq( Field( "studyId", @@ -224,7 +224,7 @@ object GwasIndex extends Logging { ), Field( "sumStatQCValues", - OptionType(ListType(StringType)), + OptionType(ListType(sumStatQCImp)), description = Some(""), resolve = js => (js.value \ "sumStatQCValues").asOpt[Seq[SumStatQC]] )