view make_eml.R @ 0:5c0290c4225a 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:55:50 +0000
parents
children 248b03f124dd
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")