# HG changeset patch
# User mingchen0919
# Date 1522208573 14400
# Node ID ea3271940757c9103dbbad24602d6d92591dfde5
# Parent 01eaa66fcc2ebf1a26fa0e30c5eb8002179c636a
planemo upload
diff -r 01eaa66fcc2e -r ea3271940757 elastic_r_package_wrappers_macros.xml
--- a/elastic_r_package_wrappers_macros.xml Tue Mar 27 14:15:12 2018 -0400
+++ b/elastic_r_package_wrappers_macros.xml Tue Mar 27 23:42:53 2018 -0400
@@ -3,7 +3,7 @@
pandoc
r-rmarkdown
- r-tidyverse
+ r-tidyverse
@@ -15,109 +15,42 @@
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
+
+
+
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -126,73 +59,39 @@
$report.files_path/options_and_arguments.txt &&
-
- ############ function_name
- ##-t '$function_name'
- echo "function_name|not available|${function_name}|not available" >> $report.files_path/options_and_arguments.txt &&
+ ############ 3. save user inputs into arguments.txt
- ####################################################
- ## loop through repeats to get option/argument pairs
- ####################################################
-
- ############ option_argument_single_dataset
- #for i in $option_argument_single_dataset_repeat:
- #set $item = 'single_dataset|' + str($i.flag) + "|" + str($i.value) + "|"
- echo '$item' >> $report.files_path/options_and_arguments.txt &&
- #end for
-
- ############ option_argument_multiple_datasets
- #for i in $option_argument_multiple_datasets_repeat:
- #set $item = 'multiple_datasets|' + str($i.flag) + "|" + str($i.value).replace(',', str($i.delimiter)) + "|"
- echo '$item' >> $report.files_path/options_and_arguments.txt &&
- #end for
+ ############ 3.1 table header
+ echo 'function|input_type|argument|argument_value|argument_value_type|operator' > $report.files_path/arguments.txt &&
- ############ option_argument_path_relative_to_a_tool
- #for i in $option_argument_path_relative_to_a_tool_repeat:
- #set $item = 'path_relative_to_a_tool|' + str($i.flag) + "|" + str($i.value) + "|" + str($i.a_tool_output_dir)
- echo '$item' >> $report.files_path/options_and_arguments.txt &&
- #end for
+ ############ 3.2 loop through function component repeat
+ #for $fun_component in $function_components:
+ #for reg_arg in $fun_component.regular_argument_value
+ echo '$fun_component.function_name|regular|$reg_arg.argument|$arg_arg.argument_value|$arg_arg.argument_value_type|$fun_component.operator' >> $report.files_path/arguments.txt &&
+ #end for
- ############ option_argument_path_relative_to_this_tool
- #for i in $option_argument_path_relative_to_this_tool_repeat:
- #set $item = 'path_relative_to_this_tool|' + str($i.flag) + "|" + str($i.value) + "|" + str($i.path_type)
- echo '$item' >> $report.files_path/options_and_arguments.txt &&
- #end for
-
- ############ option_argument_string_float_integer
- #for i in $option_argument_string_float_integer_repeat:
- #set $item = 'value|' + str($i.flag) + "|" + str($i.value) + "|"
- echo '$item' >> $report.files_path/options_and_arguments.txt &&
- #end for
+ #for rdata_arg in $fun_component.rdata_argument_value
+ echo '$fun_component.function_name|rdata|$rdata_arg.argument|$arg_arg.argument_value|rdata|$fun_component.operator' >> $report.files_path/arguments.txt &&
+ #end for
############ output_set
## '$report'
## '$report.files_path'
## '$tool_help_doc'
- ## '$tool_output_dir'
## '$tool_log'
#######################
export REPORT='$report' &&
export REPORT_FILES_PATH='$report.files_path' &&
export TOOL_HELP_DOC='$tool_help_doc' &&
- export TOOL_OUTPUT_DIR='$tool_output_dir' &&
export TOOL_LOG='$tool_log' &&