# HG changeset patch
# User gga
# Date 1623143789 0
# Node ID 1e28978d7136a48ce46c09245935c867b2318a69
# Parent 4abaab60f9e1a061916dcee153d68cf5db0ed9e9
"planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/apollo commit 7f742b16e6e4c33b9abdb633405298e05760c84b"
diff -r 4abaab60f9e1 -r 1e28978d7136 json2iframe.py
--- a/json2iframe.py Wed Aug 19 06:58:44 2020 -0400
+++ b/json2iframe.py Tue Jun 08 09:16:29 2021 +0000
@@ -22,7 +22,7 @@
Embedded Apollo Access
-
+
@@ -30,4 +30,7 @@
"""
- print(HTML_TPL.format(base_url=args.external_apollo_url, chrom="", orgId=data[0]['id'], tracklist='&tracklist=1' if args.tracklist else ''))
+ if isinstance(data, list):
+ print(HTML_TPL.format(base_url=args.external_apollo_url, chrom="", orgId=data[0]['id'], tracklist='&tracklist=1' if args.tracklist else ''))
+ else:
+ print(HTML_TPL.format(base_url=args.external_apollo_url, chrom="", orgId=data['id'], tracklist='&tracklist=1' if args.tracklist else ''))
diff -r 4abaab60f9e1 -r 1e28978d7136 macros.xml
--- a/macros.xml Wed Aug 19 06:58:44 2020 -0400
+++ b/macros.xml Tue Jun 08 09:16:29 2021 +0000
@@ -1,10 +1,10 @@
- 4.2.5
+ 4.2.13
- apollo
+ apollo
diff -r 4abaab60f9e1 -r 1e28978d7136 test-data/create_org/output.json
--- a/test-data/create_org/output.json Wed Aug 19 06:58:44 2020 -0400
+++ b/test-data/create_org/output.json Tue Jun 08 09:16:29 2021 +0000
@@ -9,8 +9,10 @@
"directory": "/XX/apollo_shared_dir/1",
"publicMode": false,
"valid": true,
+ "genomeFastaIndex": "seq/genome.fasta.fai",
"genus": "genus",
"species": null,
"id": "xx",
- "nonDefaultTranslationTable": null
+ "nonDefaultTranslationTable": null,
+ "genomeFasta": "seq/genome.fasta"
}
diff -r 4abaab60f9e1 -r 1e28978d7136 test-data/create_org/output2.json
--- a/test-data/create_org/output2.json Wed Aug 19 06:58:44 2020 -0400
+++ b/test-data/create_org/output2.json Tue Jun 08 09:16:29 2021 +0000
@@ -9,8 +9,10 @@
"directory": "/XX/apollo_shared_dir/3",
"publicMode": false,
"valid": true,
+ "genomeFastaIndex": "seq/genome.fasta.fai",
"genus": "genus2",
"species": "sp",
"id": "xx",
- "nonDefaultTranslationTable": null
+ "nonDefaultTranslationTable": null,
+ "genomeFasta": "seq/genome.fasta"
}