fixed wrong path

This commit is contained in:
Sandro La Bruzzo 2021-07-08 10:36:37 +02:00
parent 4d53402712
commit 0799ac9fb6
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ object SparkEBILinksToOaf {
ebi_rdd.write.mode(SaveMode.Overwrite).save(s"${sourcePath}_dataset") ebi_rdd.write.mode(SaveMode.Overwrite).save(s"${sourcePath}_dataset")
val ebLinks:Dataset[EBILinkItem] = spark.read.load(sourcePath).as[EBILinkItem].filter(l => l.links!= null) val ebLinks:Dataset[EBILinkItem] = spark.read.load(s"${sourcePath}_dataset").as[EBILinkItem].filter(l => l.links!= null)
ebLinks.flatMap(j =>BioDBToOAF.parse_ebi_links(j.links)) ebLinks.flatMap(j =>BioDBToOAF.parse_ebi_links(j.links))
.repartition(4000) .repartition(4000)