diff cummerbund_wrapper.py @ 1:6a9bc26ab8d9

Added cuffdata and cuffdatadb datatypes, cuffdiff multiselect outputs
author Jim Johnson <jj@umn.edu>
date Mon, 08 Oct 2012 15:26:47 -0500
parents 8ba5f0460b1e
children b0d11fcbc3ac
line wrap: on
line diff
--- a/cummerbund_wrapper.py	Mon Oct 01 14:08:13 2012 -0400
+++ b/cummerbund_wrapper.py	Mon Oct 08 15:26:47 2012 -0500
@@ -13,7 +13,8 @@
 def html_report_from_directory( html_out, dir ):
     html_out.write( '<html>\n<head>\n<title>Galaxy - cummeRbund Output</title>\n</head>\n<body>\n<p/>\n<ul>\n' )
     for fname in sorted( os.listdir( dir ) ):
-        html_out.write(  '<li><a href="%s">%s</a></li>\n' % ( fname, fname ) )
+        # html_out.write(  '<li><a href="%s">%s</a></li>\n' % ( fname, fname ) )
+        html_out.write(  '<li><a href="%s"><img src="%s" alt="" height="42" width="42">%s</a></li>\n' % ( fname, fname , fname ) )
     html_out.write( '</ul>\n</body>\n</html>\n' )
 
 def __main__():