Mercurial > repos > yating-l > jbrowse_hub
changeset 57:f9efad381948 draft
planemo upload for repository https://github.com/Yating-L/jbrowse_hub commit a505d6c97db9d044761b5ce92be4a39cb84eda29-dirty
author | yating-l |
---|---|
date | Fri, 31 Mar 2017 16:55:58 -0400 |
parents | 95b9d8acc235 |
children | 08bd1378bf43 |
files | TrackHub.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/TrackHub.py Fri Mar 31 12:38:58 2017 -0400 +++ b/TrackHub.py Fri Mar 31 16:55:58 2017 -0400 @@ -78,7 +78,7 @@ source_name = os.path.basename(self.out_path) source = os.path.join(source_dir, folder_name, source_name) slink = source.replace('/', '_') - slink = os.path.join('/home/galaxy/galaxy/static/JBrowse-1.12.1/data', slink) + slink = os.path.join('/var/www/html/JBrowse-1.12.1/data', slink) try: if os.path.islink(slink): os.unlink(slink) @@ -107,7 +107,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 = "/gonramp/static/JBrowse-1.12.1/index.html?data=%s" target="_blank">View JBrowse Hub</a></li>' + jbrowse_hub = '<li><a href = "/JBrowse-1.12.1/index.html?data=%s" target="_blank" onclick="javascript:window.location.port=80">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)