[#6281 Provenance of product PIDs] Added PIDs to the Instance type in Scholexplorer Export
This commit is contained in:
parent
0af8c4df00
commit
90913894f8
|
@ -343,6 +343,9 @@ object DLIToOAF {
|
|||
val instance_urls = if (fpids.head.length < 5) s"https://www.rcsb.org/structure/${fpids.head}" else s"https://dx.doi.org/${fpids.head}"
|
||||
|
||||
val i: Instance = createInstance(instance_urls, firstInstanceOrNull(d.getInstance()), result.getDateofacceptance, true)
|
||||
|
||||
// Ticket #6281 added pid to Instance
|
||||
i.setPid(result.getPid)
|
||||
if (i != null)
|
||||
result.setInstance(List(i).asJava)
|
||||
|
||||
|
|
Loading…
Reference in New Issue