diff toolfactory/rgToolFactory2.py @ 118:e43c43396a70 draft

Uploaded
author fubar
date Fri, 11 Dec 2020 04:23:48 +0000
parents b1a29d3d50d6
children 8ea1133b9d9a
line wrap: on
line diff
--- 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:
-    <command interpreter="python">rgBaseScriptWrapper.py --script_path "$scriptPath"
-    --tool_name "foo" --interpreter "Rscript"
-    </command>
+    This is a Galaxy wrapper. It expects to be called by a special purpose tool.xml
+
     """
     parser = argparse.ArgumentParser()
     a = parser.add_argument