# HG changeset patch # User fubar # Date 1607660628 0 # Node ID e43c43396a7094d21fc20a86dcff39c878738ea7 # Parent b1a29d3d50d6584e6bcfeb136ab92595b8d506da Uploaded diff -r b1a29d3d50d6 -r e43c43396a70 toolfactory/rgToolFactory2.py --- a/toolfactory/rgToolFactory2.py Sun Dec 06 01:21:06 2020 +0000 +++ b/toolfactory/rgToolFactory2.py Fri Dec 11 04:23:48 2020 +0000 @@ -571,11 +571,11 @@ safertext = "\n".join([cheetah_escape(x) for x in helptext]) if self.args.script_path: scr = [x for x in self.spacedScript if x.strip() > ""] - scr.insert(0,'\n------\n\nScript::\n') + scr.insert(0,'\n------\n\n\nScript::\n') if len(scr) > 300: scr = ( scr[:100] - + [">300 lines - stuff deleted", "......"] + + [" >300 lines - stuff deleted", " ......"] + scr[-100:] ) scr.append('\n') @@ -990,10 +990,8 @@ def main(): """ - This is a Galaxy wrapper. It expects to be called by a special purpose tool.xml as: - rgBaseScriptWrapper.py --script_path "$scriptPath" - --tool_name "foo" --interpreter "Rscript" - + This is a Galaxy wrapper. It expects to be called by a special purpose tool.xml + """ parser = argparse.ArgumentParser() a = parser.add_argument diff -r b1a29d3d50d6 -r e43c43396a70 toolfactory/rgToolFactory2.xml --- a/toolfactory/rgToolFactory2.xml Sun Dec 06 01:21:06 2020 +0000 +++ b/toolfactory/rgToolFactory2.xml Fri Dec 11 04:23:48 2020 +0000 @@ -1,11 +1,11 @@ - + Scripts into tools v2.0 - + @@ -39,7 +39,8 @@ - + @@ -67,7 +68,7 @@ help="If you will pass positional parameters, enter the integer ordinal for this parameter. If Argparse style, '--' will be prepended or '-' if single character" value=""> - @@ -85,17 +86,19 @@ + help="Available options are diff:[lines], sim_size:[delta (integer) or delta_frac (float)" value="diff:0"/> + - +
+ - @@ -134,6 +137,7 @@ +
@@ -142,8 +146,7 @@ bioblend ephemeris docker-py - - quay.io/fubar2/planemo-biocontainer:latest + planemo -$usescript.dynScript +$deps.usescript.dynScript #if $cover.commover == "yes" and len(str($cover.command_override).strip()) > 1: @@ -215,15 +218,15 @@ #end if - #if $makeMode.make_Tool != "runonly": -${makeMode.help_text} + #if $make.makeMode.make_Tool != "runonly": +${make.makeMode.help_text} #else $tool_name help goes here #end if -#if $makeMode.make_Tool != "runonly": - #for $citation in $makeMode.citations: +#if $make.makeMode.make_Tool != "runonly": + #for $citation in $make.makeMode.citations: #if $citation.citation_type.type == "bibtex": **ENTRY**bibtex ${citation.citation_type.bibtex} @@ -244,6 +247,9 @@ + +
+ @@ -276,7 +282,8 @@ - +
+
@@ -295,6 +302,7 @@ +
@@ -326,7 +334,7 @@ - +
@@ -381,11 +389,10 @@ - - +