Skip to content

Commit d4c0215

Browse files
committed
fix(search): association score change
1 parent dcad7a7 commit d4c0215

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/scala/io/opentargets/etl/backend/Search.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,9 +782,10 @@ object Search extends LazyLogging {
782782

783783
// TODO check the overall score column name
784784
logger.info("subselect indirect LLR associations just id and score and persist")
785+
785786
val associationScores = inputDataFrame("association").data
786787
.withColumn("associationId", concat_ws("-", col("diseaseId"), col("targetId")))
787-
.withColumnRenamed("overallDatasourceHarmonicScore", "score")
788+
.withColumnRenamed("associationScore", "score")
788789
.select(associationColumns.head, associationColumns.tail: _*)
789790
.persist(StorageLevel.DISK_ONLY)
790791

0 commit comments

Comments
 (0)