diff toolfactory/rgToolFactory2.py @ 130:e8e8071c9d0c draft

Uploaded
author fubar
date Tue, 06 Apr 2021 03:12:56 +0000
parents c35ff02652bf
children 72d190989c68
line wrap: on
line diff
--- a/toolfactory/rgToolFactory2.py	Sun Apr 04 06:36:14 2021 +0000
+++ b/toolfactory/rgToolFactory2.py	Tue Apr 06 03:12:56 2021 +0000
@@ -29,13 +29,15 @@
 import time
 
 
-import galaxyxml.tool as gxt
-import galaxyxml.tool.parameters as gxtp
-import lxml
-import yaml
 from bioblend import ConnectionError
 from bioblend import toolshed
 
+import galaxyxml.tool as gxt
+import galaxyxml.tool.parameters as gxtp
+
+import lxml
+
+import yaml
 
 myversion = "V2.2 February 2021"
 verbose = True
@@ -524,7 +526,7 @@
             elif newtype == "integer":
                 aparm = gxtp.IntegerParam(
                     newname,
-                    label=newname,
+                    label=newlabel,
                     help=newhelp,
                     value=newval,
                     num_dashes=ndash,
@@ -532,7 +534,7 @@
             elif newtype == "float":
                 aparm = gxtp.FloatParam(
                     newname,
-                    label=newname,
+                    label=newlabel,
                     help=newhelp,
                     value=newval,
                     num_dashes=ndash,
@@ -540,7 +542,7 @@
             elif newtype == "boolean":
                 aparm = gxtp.BooleanParam(
                     newname,
-                    label=newname,
+                    label=newlabel,
                     help=newhelp,
                     value=newval,
                     num_dashes=ndash,