forked from D-Net/dnet-hadoop
mapping bioschema to oaf
This commit is contained in:
parent
446f81ee60
commit
2bc79c50f8
|
@ -514,7 +514,7 @@ object BioschemaToOAFTransformation {
|
||||||
rel.setTarget(
|
rel.setTarget(
|
||||||
DHPUtils.generateUnresolvedIdentifier(r.relatedIdentifier, r.relatedIdentifierType)
|
DHPUtils.generateUnresolvedIdentifier(r.relatedIdentifier, r.relatedIdentifierType)
|
||||||
)
|
)
|
||||||
rel.setCollectedfrom(List(collectedFromMap("ped") ).asJava)
|
rel.setCollectedfrom(List(collectedFromMap("ped")).asJava)
|
||||||
rel.getCollectedfrom.asScala.map(c => c.getValue).toList
|
rel.getCollectedfrom.asScala.map(c => c.getValue).toList
|
||||||
rel
|
rel
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue