Mercurial > repos > gga > jbrowse_to_container
comparison jbrowse_to_container.py @ 1:4065bcff8e85 draft default tip
"planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/jbrowse commit 3500c1e606a902b492180db3e2e0c2ee07c90e8b"
| author | gga | 
|---|---|
| date | Tue, 27 Apr 2021 12:49:22 +0000 | 
| parents | 11033bdad2ca | 
| children | 
   comparison
  equal
  deleted
  inserted
  replaced
| 0:11033bdad2ca | 1:4065bcff8e85 | 
|---|---|
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python | 
| 2 from __future__ import print_function | |
| 3 | 2 | 
| 4 import argparse | 3 import argparse | 
| 5 import base64 | 4 import base64 | 
| 6 | 5 | 
| 7 | 6 | 
| 18 ZHRoOiAxMDAlO2hlaWdodDogMTAwJX19PC9zdHlsZT48L2hlYWQ+PGJvZHk+PGlmcmFtZSBzcmM9 | 17 ZHRoOiAxMDAlO2hlaWdodDogMTAwJX19PC9zdHlsZT48L2hlYWQ+PGJvZHk+PGlmcmFtZSBzcmM9 | 
| 19 IntiYXNlX3VybH0iPjwvaWZyYW1lPjwvYm9keT48L2h0bWw+DQo= | 18 IntiYXNlX3VybH0iPjwvaWZyYW1lPjwvYm9keT48L2h0bWw+DQo= | 
| 20 """ | 19 """ | 
| 21 HTML_TPL = base64.b64decode(HTML_TPL.replace('\n', '')) | 20 HTML_TPL = base64.b64decode(HTML_TPL.replace('\n', '')) | 
| 22 | 21 | 
| 23 print(HTML_TPL.format(base_url=args.external_jbrowse_url)) | 22 print(HTML_TPL.decode('ascii').format(base_url=args.external_jbrowse_url)) | 
