master #59

Closed
claudio.atzori wants to merge 3221 commits from master into stable_ids
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 8d2e086e48 - Show all commits

View File

@ -16,8 +16,8 @@ object SparkConvertORCIDToOAF {
val logger: Logger = LoggerFactory.getLogger(SparkConvertORCIDToOAF.getClass)
def fixORCIDItem(item :ORCIDItem):ORCIDItem = {
item.authors = item.authors.groupBy(_.oid).map(_._2.head)
item
new ORCIDItem(item.doi, item.authors.groupBy(_.oid).map(_._2.head).toList)
}