Skip to content

Commit

Permalink
fix #370
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Oct 12, 2023
1 parent ef76afc commit 0fae380
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/metadata/entity/entity_handler_ncml.R
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ handle_entities_ncml <- function(handler, source, config, handle = TRUE){


#identifiers
entity$setIdentifier("id", basename(attr$full_name$value))
entity$setIdentifier("id", basename(attr$id$value))

doi <- attr$identifier_product_doi$value
if(!is.null(doi)){
Expand All @@ -98,7 +98,7 @@ handle_entities_ncml <- function(handler, source, config, handle = TRUE){
if(!is.null(title)){
entity$setTitle("title", title)
}else{
entity$setTitle("title",basename(attr$full_name$value))
entity$setTitle("title",basename(attr$id$value))
}

#description
Expand Down

0 comments on commit 0fae380

Please sign in to comment.