Master branch updates from beta September 2023 #337

Manually merged
claudio.atzori merged 1271 commits from beta into master 2023-09-06 11:31:09 +02:00
1 changed files with 4 additions and 3 deletions
Showing only changes of commit 16ad42e8f3 - Show all commits

View File

@ -662,7 +662,8 @@ object DataciteToOAFTransformation {
(r.relatedIdentifierType.equalsIgnoreCase("doi") || (r.relatedIdentifierType.equalsIgnoreCase("doi") ||
r.relatedIdentifierType.equalsIgnoreCase("pmid") || r.relatedIdentifierType.equalsIgnoreCase("pmid") ||
r.relatedIdentifierType.equalsIgnoreCase("arxiv")) && r.relatedIdentifierType.equalsIgnoreCase("arxiv")) &&
(r.relationType.toLowerCase.contains("cite") || r.relationType.toLowerCase.contains("reference"))) (r.relationType.toLowerCase.contains("cite") || r.relationType.toLowerCase.contains("reference"))
)
.map(r => { .map(r => {
r.relationType match { r.relationType match {
case ModelConstants.CITES | ModelConstants.REFERENCES => case ModelConstants.CITES | ModelConstants.REFERENCES =>