DOIBoost Mapping: change the creation of the instance in the DOIBoost result #155
No reviewers
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
RDGraph
RSAC
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: D-Net/dnet-hadoop#155
Loading…
Reference in New Issue
No description provided.
Delete Branch "doiboost_url"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR is to change the way the instance is created for each of the providers considered for the creation of the DOIBoost result.
Another modification regards the mapping of the type "dissertation" from crossref. It is now mapped as Thesis (0040) instead of Doctoral Thesis (0006) as it was before
Minor: a few lines of code are commented out and should be cleaned up
@ -212,2 +209,2 @@
instance.setUrl(links.asJava)
}
val s: List[String] = List("https://doi.org/" + doi)
// val links: List[String] = ((for {JString(url) <- json \ "link" \ "URL"} yield url) ::: List(s)).filter(p => p != null && p.toLowerCase().contains(doi.toLowerCase())).distinct
Clean up commented out code lines