# HG changeset patch
# User iuc
# Date 1539797633 14400
# Node ID ee894347fcd62d19e4085f1dc20a6e0625211cc0
# Parent 4de57a28e60961f6a39c9f4027adb4d9df8f1b52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 1f7418d74c6fcd61a050106ca5f9b66ab9a4c33d
diff -r 4de57a28e609 -r ee894347fcd6 gemini_macros.xml
--- a/gemini_macros.xml Thu Nov 09 13:19:59 2017 -0500
+++ b/gemini_macros.xml Wed Oct 17 13:33:53 2018 -0400
@@ -88,14 +88,28 @@
-
+
+
+
+
+
+
+
+ #set $sql_expr = str($multiline_sql_expr).strip()
+ #if str($sql_expr):
+ #set $sql_expr = $sql_expr.replace('\r\n', '\n')
+ #set $sql_expr = $sql_expr.replace('\r', '\n')
+ #set $sql_expr = $sql_expr.replace('\\\n', ' ')
+ $cmdln_param '$sql_expr'
+ #end if
+
+
#if str($filter.filter_selector) == 'yes' and $filter.filter:
- #import pipes
- --filter ${ pipes.quote( str( $filter.filter ) ) or "''" }
+ --filter '${ str( $filter.filter ) }'
#end if
diff -r 4de57a28e609 -r ee894347fcd6 gemini_stats.xml
--- a/gemini_stats.xml Thu Nov 09 13:19:59 2017 -0500
+++ b/gemini_stats.xml Wed Oct 17 13:33:53 2018 -0400
@@ -12,13 +12,13 @@
gemini @BINARY@
$stats_type
- #if $gt_filter.strip():
- --gt-filter "${gt_filter}"
- #end if
+ #set $multiline_sql_expr = $gt_filter
+ #set $cmdln_param = "--gt-filter"
+ @MULTILN_SQL_EXPR_TO_CMDLN@
- #if $summarize.strip():
- --gt-filter "${gt_filter}"
- #end if
+ #set $multiline_sql_expr = $summarize
+ #set $cmdln_param = "--summarize"
+ @MULTILN_SQL_EXPR_TO_CMDLN@
"${ infile }"
> "${ outfile }"