Previous changeset 13:d5a5f9c2c108 (2014-03-20) Next changeset 15:824d21b5c773 (2014-03-20) |
Commit message:
Uploaded |
modified:
rgToolFactory.py |
b |
diff -r d5a5f9c2c108 -r 43ab59672f78 rgToolFactory.py --- a/rgToolFactory.py Thu Mar 20 06:00:21 2014 -0400 +++ b/rgToolFactory.py Thu Mar 20 06:04:42 2014 -0400 |
b |
@@ -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.. |