fixed wrong path

pull/124/head
Sandro La Bruzzo 3 years ago
parent 4d53402712
commit 0799ac9fb6

@ -36,7 +36,7 @@ object SparkEBILinksToOaf {
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))
.repartition(4000)

Loading…
Cancel
Save