code formatting

This commit is contained in:
Claudio Atzori 2023-03-01 10:22:13 +01:00
parent 9c59dac859
commit 16ad42e8f3
1 changed files with 4 additions and 3 deletions

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 =>