Mercurial > repos > ecology > makeeml
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/make_eml.R Wed Sep 13 19:56:16 2023 +0000 @@ -0,0 +1,13 @@ +##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")