Repository 'apollo_export'
hg clone https://toolshed.g2.bx.psu.edu/repos/gga/apollo_export

Changeset 15:b503fe85f261 (2021-06-08)
Previous changeset 14:0d4234488bd0 (2020-08-19) Next changeset 16:c3251541cf2b (2021-12-10)
Commit message:
"planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/apollo commit 7f742b16e6e4c33b9abdb633405298e05760c84b"
modified:
json2iframe.py
macros.xml
test-data/create_org/output.json
test-data/create_org/output2.json
b
diff -r 0d4234488bd0 -r b503fe85f261 json2iframe.py
--- a/json2iframe.py Wed Aug 19 06:55:33 2020 -0400
+++ b/json2iframe.py Tue Jun 08 09:16:01 2021 +0000
[
@@ -22,7 +22,7 @@
         <html>
             <head>
                 <title>Embedded Apollo Access</title>
-                <style type="text/css">body {{margin: 0;}} iframe {{border: 0;width: 100%;height: 100%}}</style>
+                <style type="text/css">body {{margin: 0;}} iframe {{border: 0;width: 100%;height: 100vh}}</style>
             </head>
             <body>
                 <iframe src="{base_url}/annotator/loadLink?loc={chrom}&organism={orgId}{tracklist}"></iframe>
@@ -30,4 +30,7 @@
         </html>
     """
 
-    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 ''))
b
diff -r 0d4234488bd0 -r b503fe85f261 macros.xml
--- a/macros.xml Wed Aug 19 06:55:33 2020 -0400
+++ b/macros.xml Tue Jun 08 09:16:01 2021 +0000
b
@@ -1,10 +1,10 @@
 <?xml version="1.0"?>
 <macros>
-  <token name="@WRAPPER_VERSION@">4.2.5</token>
+  <token name="@WRAPPER_VERSION@">4.2.13</token>
 
   <xml name="requirements">
     <requirements>
-      <requirement type="package" version="4.2.5">apollo</requirement>
+      <requirement type="package" version="4.2.13">apollo</requirement>
       <yield/>
     </requirements>
   </xml>
b
diff -r 0d4234488bd0 -r b503fe85f261 test-data/create_org/output.json
--- a/test-data/create_org/output.json Wed Aug 19 06:55:33 2020 -0400
+++ b/test-data/create_org/output.json Tue Jun 08 09:16:01 2021 +0000
b
@@ -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"
 }
b
diff -r 0d4234488bd0 -r b503fe85f261 test-data/create_org/output2.json
--- a/test-data/create_org/output2.json Wed Aug 19 06:55:33 2020 -0400
+++ b/test-data/create_org/output2.json Tue Jun 08 09:16:01 2021 +0000
b
@@ -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"
 }