Question: Falling Back To Text For Tool Descriptions
0
James Casbon • 370 wrote:
Hi guys,
I would like to be able to copy in a man page (or similar) to a tool's
help file. At the moment, this fails due to the requirement for
ReST.
How falling back to wrapping the text in a
?:
galaxy-dist james$ hg diff lib/galaxy/tools/__init__.py
diff -r d2c5b964e635 lib/galaxy/tools/__init__.py
+++ b/lib/galaxy/tools/__init__.py Mon Oct 27 11:28:01 2008 +0000
@@ -419,6 +419,7 @@
self.help = util.rst_to_html(self.help.text)
except:
log.exception( "error in help for tool %s" %
self.name )
+ self.help = "%s
" % self.help.text
# Multiple help page case
if help_pages:
for help_page in help_pages:
cheers,
James
ADD COMMENT
• link
•
modified 10.1 years ago
by
James Taylor • 70
•
written
10.1 years ago by
James Casbon • 370
