# HG changeset patch # User ecology # Date 1701726521 0 # Node ID 0cfc9b6da2aca1ce445b812082ba692f65d21aba # Parent 4cd3d9fdb5f38b09a98ee3f99e33fd33086db4cb planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84 diff -r 4cd3d9fdb5f3 -r 0cfc9b6da2ac eal_table_templates.R --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eal_table_templates.R Mon Dec 04 21:48:41 2023 +0000 @@ -0,0 +1,21 @@ +#28/11/2023 #SEGUINEAU Pauline + +#Load packages + +library(EMLassemblyline) + +#Load arguments + +if (length(commandArgs(trailingOnly = TRUE)) > 0) { + data_table <- commandArgs(trailingOnly = TRUE)[1] +} + +#Transform arguments + +table = strsplit(data_table," ") + +#Make templates to describe data tables : Describes columns of a data table (classes, units, datetime formats, missing value codes) + catégorical variables. + +template_table_attributes(path = ".",data.path= "data_files", data.table = table[[1]]) +template_categorical_variables(path = ".", data.path = "data_files") + diff -r 4cd3d9fdb5f3 -r 0cfc9b6da2ac eal_templates.R --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eal_templates.R Mon Dec 04 21:48:41 2023 +0000 @@ -0,0 +1,23 @@ +#22/11/2023 #SEGUINEAU Pauline + +###First tool of EML Workflow + +#Load packages + +library(EMLassemblyline) + +#Load arguments + +args = commandArgs(trailingOnly=TRUE) +if(length(args)>0){ + + license <- args[1] + file_type <- args[2] +} + +#Make templates to describe core features of a data package (abstract, methods, keywords, personnel, license). + +template_core_metadata(path=".",license = license, file.type = file_type) + + + diff -r 4cd3d9fdb5f3 -r 0cfc9b6da2ac table_templates.R --- a/table_templates.R Sat Dec 02 01:49:32 2023 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -#28/11/2023 #SEGUINEAU Pauline - -#Load packages - -library(EMLassemblyline) - -#Load arguments - -if (length(commandArgs(trailingOnly = TRUE)) > 0) { - data_table <- commandArgs(trailingOnly = TRUE)[1] -} - -#Transform arguments - -table = strsplit(data_table," ") - -#Make templates to describe data tables : Describes columns of a data table (classes, units, datetime formats, missing value codes) + catégorical variables. - -template_table_attributes(path = ".",data.path= "data_files", data.table = table[[1]]) -template_categorical_variables(path = ".", data.path = "data_files") - diff -r 4cd3d9fdb5f3 -r 0cfc9b6da2ac templates1.R --- a/templates1.R Sat Dec 02 01:49:32 2023 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -#22/11/2023 #SEGUINEAU Pauline - -###First tool of EML Workflow - -#Load packages - -library(EMLassemblyline) - -#Load arguments - -args = commandArgs(trailingOnly=TRUE) -if(length(args)>0){ - - license <- args[1] - file_type <- args[2] -} - -#Make templates to describe core features of a data package (abstract, methods, keywords, personnel, license). - -template_core_metadata(path=".",license = license, file.type = file_type) - - -