changeset 14:43ab59672f78 draft

Uploaded
author fubar
date Thu, 20 Mar 2014 06:04:42 -0400
parents d5a5f9c2c108
children 824d21b5c773
files rgToolFactory.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/rgToolFactory.py	Thu Mar 20 06:00:21 2014 -0400
+++ b/rgToolFactory.py	Thu Mar 20 06:04:42 2014 -0400
@@ -91,7 +91,7 @@
 toolFactoryURL = 'https://bitbucket.org/fubar/galaxytoolfactory'
 
 # if we do html we need these dependencies
-toolhtmldep = """<?xml version="1.0"?>
+toolhtmldepskel = """<?xml version="1.0"?>
 <tool_dependency>
     <package name="ghostscript" version="9.10">
         <repository name="package_ghostscript_9_10" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu/" />
@@ -348,9 +348,9 @@
                 hlp = open(self.opts.help_text,'r').read()
             else:
                 hlp = 'Please ask the tool author for help as none was supplied at tool generation\n'
-            tooldeps = toolhtmldep % hlp
+            tooldepcontent = toolhtmldepskel  % hlp
             depf = open(os.path.join(tdir,'tool_dependencies.xml'),'w')
-            depf.write(hlp)
+            depf.write(tooldepcontent)
             depf.write('\n')
             depf.close()
         if self.opts.input_tab <> 'None': # no reproducible test otherwise? TODO: maybe..