# HG changeset patch # User iuc # Date 1539797529 14400 # Node ID 33efe43c1dbbbfbe86f54efbb818f9191197c02e # Parent 3ceab02d0d4097a3bfc62fb96558efedd831cb87 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 1f7418d74c6fcd61a050106ca5f9b66ab9a4c33d diff -r 3ceab02d0d40 -r 33efe43c1dbb gemini_macros.xml --- a/gemini_macros.xml Thu Nov 09 13:19:00 2017 -0500 +++ b/gemini_macros.xml Wed Oct 17 13:32:09 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