forked from D-Net/dnet-hadoop
code formatting
This commit is contained in:
parent
9c59dac859
commit
16ad42e8f3
|
@ -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 =>
|
||||||
|
|
Loading…
Reference in New Issue