1. Chris Mungall
  2. galaxy-obo

Commits

Ross Lazarus  committed 1497b16

better tool naming in outputs for all picard tools and finally found where the picard log was hiding

  • Participants
  • Parent commits 9644cbe
  • Branches default

Comments (0)

Files changed (1)

File tools/picard/picard_wrapper.py

View file
 <body>
 <div class="document">
 """
-galhtmlattr = """Galaxy tool wrapper run %s at %s</b><br/>"""
+galhtmlattr = """Galaxy tool wrapper %s at %s</b><br/>"""
 galhtmlpostfix = """</div></body></html>\n"""
 
 
             os.makedirs(opts.tmpdir)
         except:
             pass
-        self.log_filename = '%s.log' % self.picname
+        self.log_filename = os.path.join(opts.outdir,'%s.log' % self.picname)
         self.metricsOut =  os.path.join(opts.outdir,'%s.metrics.txt' % self.picname)
  
     def baseName(self,name=None):
         tr.d1 td {background-color: aliceblue; color: black;}
         </style>"""    
         res = [rstyle,]
-        res.append(galhtmlprefix % self.progname)   
+        res.append(galhtmlprefix % self.picname)   
         res.append(galhtmlattr % (self.progname,timenow()))
         flist = [x for x in os.listdir(self.opts.outdir) if not x.startswith('.')] 
         pdflist = [x for x in flist if os.path.splitext(x)[-1].lower() == '.pdf']