Mercurial > repos > yating-l > jbrowse_hub
changeset 52:6fec27968f86 draft
planemo upload for repository https://github.com/Yating-L/jbrowse_hub commit 6391cdb975d14b5a7060fa1665a8a575797a0eaa-dirty
author | yating-l |
---|---|
date | Thu, 30 Mar 2017 18:03:43 -0400 |
parents | acedf82ea46c |
children | 1e4806330e51 |
files | TrackHub.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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: <br>' zipfiles = '<li><a href = "%s">Download</a></li>' - jbrowse_hub = '<li><a href = "/static/JBrowse-1.12.1/index.html?data=jbrowse_hub/json" target="_blank">View JBrowse Hub</a></li>' + jbrowse_hub = '<li><a href = ":80/JBrowse-1.12.1/index.html?data=jbrowse_hub/json" target="_blank">View JBrowse Hub</a></li>' filedir_abs = os.path.abspath(self.outfile) filedir = os.path.dirname(filedir_abs) filedir = os.path.join(filedir, self.outfolder)