# HG changeset patch # User yating-l # Date 1490911423 14400 # Node ID 6fec27968f862b7b0f40a55631f73201d19b67f2 # Parent acedf82ea46cb8e3505afeaa26496d192513d343 planemo upload for repository https://github.com/Yating-L/jbrowse_hub commit 6391cdb975d14b5a7060fa1665a8a575797a0eaa-dirty diff -r acedf82ea46c -r 6fec27968f86 TrackHub.py --- a/TrackHub.py Thu Mar 30 16:10:04 2017 -0400 +++ b/TrackHub.py Thu Mar 30 18:03:43 2017 -0400 @@ -72,7 +72,7 @@ def makeArchive(self): shutil.make_archive(self.out_path, 'zip', self.out_path) - data_folder = '/home/galaxy/galaxy/static/JBrowse-1.12.1/jbrowse_hub' + data_folder = '/var/www/html/JBrowse-1.12.1/jbrowse_hub' try: if os.path.exists(data_folder): if os.path.isdir(data_folder): @@ -91,7 +91,7 @@ with open(self.outfile, 'w') as htmlfile: htmlstr = 'The JBrowse Hub is created:
' zipfiles = '
  • Download
  • ' - jbrowse_hub = '
  • View JBrowse Hub
  • ' + jbrowse_hub = '
  • View JBrowse Hub
  • ' filedir_abs = os.path.abspath(self.outfile) filedir = os.path.dirname(filedir_abs) filedir = os.path.join(filedir, self.outfolder)