doidoost_dismiss #418
|
@ -490,6 +490,7 @@ object MagUtility extends Serializable {
|
||||||
result.setDataInfo(MAGDataInfo)
|
result.setDataInfo(MAGDataInfo)
|
||||||
val i = new Instance
|
val i = new Instance
|
||||||
i.setInstancetype(tp)
|
i.setInstancetype(tp)
|
||||||
|
i.setInstanceTypeMapping(List(instanceTypeMapping(currentType)).asJava)
|
||||||
result.setInstance(List(i).asJava)
|
result.setInstance(List(i).asJava)
|
||||||
}
|
}
|
||||||
result
|
result
|
||||||
|
|
|
@ -72,7 +72,6 @@ object UnpayWallToOAF {
|
||||||
|
|
||||||
def convertToOAF(input: String): Publication = {
|
def convertToOAF(input: String): Publication = {
|
||||||
|
|
||||||
|
|
||||||
val pub = new Publication
|
val pub = new Publication
|
||||||
|
|
||||||
implicit lazy val formats: DefaultFormats.type = org.json4s.DefaultFormats
|
implicit lazy val formats: DefaultFormats.type = org.json4s.DefaultFormats
|
||||||
|
|
Loading…
Reference in New Issue