# HG changeset patch # User ecology # Date 1701726572 0 # Node ID 409d9329d2be37fb8782be195c2a83e5fec4864b # Parent 3d14d6a4ef7cc6bbf1d7f33c3077a90237d1d4bc planemo upload for repository https://github.com/galaxyecology/tools-ecology/tree/master/tools/EMLassemblyline commit 5c327a780dc58fb954e7b65db6fd413ee3909c84 diff -r 3d14d6a4ef7c -r 409d9329d2be eal_table_templates.R --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eal_table_templates.R Mon Dec 04 21:49:32 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 3d14d6a4ef7c -r 409d9329d2be eal_templates.R --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eal_templates.R Mon Dec 04 21:49:32 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 3d14d6a4ef7c -r 409d9329d2be table_templates.R --- a/table_templates.R Sat Dec 02 01:49:48 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 3d14d6a4ef7c -r 409d9329d2be templates1.R --- a/templates1.R Sat Dec 02 01:49:48 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) - - -