Skip to content

Commit

Permalink
feat: CLIN-3562 fix test for external_frequencies
Browse files Browse the repository at this point in the history
  • Loading branch information
meek0 committed Jan 16, 2025
1 parent 79dc1cd commit a08583f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ object Variants {
val conditionValueMap: List[(Column, String)] = List(
$"clinvar".isNotNull -> "Clinvar",
$"cmc".isNotNull -> "Cosmic",
$"external_frequencies".isNotNull -> "gnomADv4",
$"external_frequencies.gnomad_genomes_4".isNotNull -> "gnomADv4",
)
val dfWithVariantExternalReference = conditionValueMap.foldLeft {
df.withColumn(outputColumn, when($"rsnumber".isNotNull, array(lit("DBSNP"))).otherwise(array()))
Expand Down

0 comments on commit a08583f

Please sign in to comment.