Mercurial > repos > eric-rasche > apollo
diff json2iframe.py @ 7:f9a6e151b3b4 draft
planemo upload for repository https://github.com/TAMU-CPT/galaxy-webapollo commit 52b9e5bf6a6efb09a5cb845ee48703651c644174
author | eric-rasche |
---|---|
date | Tue, 27 Jun 2017 04:05:17 -0400 |
parents | 7610987e0c48 |
children |
line wrap: on
line diff
--- a/json2iframe.py Sat Mar 04 18:00:52 2017 -0500 +++ b/json2iframe.py Tue Jun 27 04:05:17 2017 -0400 @@ -1,7 +1,8 @@ #!/usr/bin/env python +from __future__ import print_function +import argparse import json -import base64 -import argparse + if __name__ == '__main__': parser = argparse.ArgumentParser(description='Sample script to add an attribute to a feature via web services') @@ -26,6 +27,5 @@ </body> </html> """ - # HTML_TPL = base64.b64decode(HTML_TPL.replace('\n', '')) - print HTML_TPL.format(base_url=args.external_apollo_url, chrom="", orgId=data[0]['id']) + print(HTML_TPL.format(base_url=args.external_apollo_url, chrom="", orgId=data[0]['id']))