# HG changeset patch
# User yating-l
# Date 1490993758 14400
# Node ID f9efad3819480074b7e65224c59c966a31fe3467
# Parent 95b9d8acc2357e6041d1e8914ff4bf5756bdaa9a
planemo upload for repository https://github.com/Yating-L/jbrowse_hub commit a505d6c97db9d044761b5ce92be4a39cb84eda29-dirty
diff -r 95b9d8acc235 -r f9efad381948 TrackHub.py
--- 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:
'
zipfiles = '