Skip to content

Commit

Permalink
Update eml_create_eml.R
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Sep 1, 2023
1 parent 217eee8 commit e3abd8e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion inst/actions/eml_create_eml.R
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,12 @@ function(action, entity, config){
"function" = switch(relation$key,
"thumbnail" = "information",
"parent" = "information",
"ftp" = "information",
"http" = "information",
"download" = "download",
"wms" = "information",
"wfs" = "download",
"wcs" = "download",
"information"
)
)
Expand Down Expand Up @@ -473,4 +476,4 @@ function(action, entity, config){
#eml writing
EML::write_eml(eml_md, file.path(getwd(), "metadata", paste0(entity$getEntityJobDirname(), "_EML.xml")))

}
}

0 comments on commit e3abd8e

Please sign in to comment.