view make_eml.R @ 0:9cbac7a9b1a3 draft

planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 2d139641e5afb8c75b8aded37bdbd7aecae0fb83
author ecology
date Wed, 13 Sep 2023 19:56:16 +0000
parents
children 9d56f6480194
line wrap: on
line source

##07/06/2023
##Genthon Tanguy
###make_eml

args = commandArgs(trailingOnly=TRUE)
if(length(args)>0){
  title <- args[1]
}

EMLassemblyline::make_eml("output_template",eml.path=".", dataset.title = title)
old.names <- list.files(path=".", pattern=".xml")
print(old.names)
file.rename(from=old.names, to="eml.xml")