Skip to content

Commit

Permalink
fix sumstat qc repr
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhayhurst committed Oct 16, 2024
1 parent 98358ee commit e34d894
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/entities/GwasIndex.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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]]
)
Expand Down

0 comments on commit e34d894

Please sign in to comment.