Mercurial > repos > fubar > jbrowse2
diff jb2_urlconf.py @ 48:460d5b6c5d98 draft
planemo upload for repository https://github.com/usegalaxy-eu/temporary-tools/tree/master/jbrowse2 commit 3a43e9e0ffce0966101203102e769d1ced28618a-dirty
author | fubar |
---|---|
date | Wed, 06 Mar 2024 10:37:49 +0000 |
parents | 3e53204c2419 |
children | 7e867ff86e44 |
line wrap: on
line diff
--- a/jb2_urlconf.py Wed Mar 06 00:23:02 2024 +0000 +++ b/jb2_urlconf.py Wed Mar 06 10:37:49 2024 +0000 @@ -1,6 +1,6 @@ inconf = open('config.json', 'r').readlines() with open('config.json.local', 'w') as bak: - bak.write('\n'.join(inconf)) + bak.write(''.join(inconf)) urlbase = "https://galaxy.genomicsvl-students.cloud.edu.au/jbrowse/hum/" utag = '"uri":' for i, row in enumerate(inconf): @@ -10,7 +10,7 @@ parth = row.split(utag)[1].strip() inconf[i] = '%s%s' % (urlbase, parth) with open('config.json', 'w') as outconf: - outconf.write('\n'.join(inconf)) + outconf.write(''.join(inconf))