Repository 'jbrowse2'
hg clone https://toolshed.g2.bx.psu.edu/repos/fubar/jbrowse2

Changeset 9:a26c41e304c3 (2024-01-19)
Previous changeset 8:9a168aa68f06 (2024-01-18) Next changeset 10:c60b17456297 (2024-01-20)
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 1b7e6ba50013775621cbdfdc101152a7f5c5e15b
modified:
jbrowse2.py
b
diff -r 9a168aa68f06 -r a26c41e304c3 jbrowse2.py
--- a/jbrowse2.py Thu Jan 18 06:41:25 2024 +0000
+++ b/jbrowse2.py Fri Jan 19 03:08:28 2024 +0000
[
@@ -375,7 +375,6 @@
 
 class JbrowseConnector(object):
     def __init__(self, outdir, genomes):
-        self.usejson = True
         self.giURL = GALAXY_INFRASTRUCTURE_URL
         self.outdir = outdir
         os.makedirs(self.outdir, exist_ok=True)
@@ -931,13 +930,13 @@
             },
             "displays": [
                 {
+                    "type": "LinearBasicDisplay",
+                    "displayId": "%s-LinearBasicDisplay" % tId,
+                },
+                {
                     "type": "LinearPileupDisplay",
                     "displayId": "%s-LinearPileupDisplay" % tId,
                 },
-                {
-                    "type": "LinearBasicDisplay",
-                    "displayId": "%s-LinearBasicDisplay" % tId,
-                },
                 {"type": "LinearArcDisplay", "displayId": "%s-LinearArcDisplay" % tId},
             ],
         }
@@ -1427,8 +1426,7 @@
         jc.add_general_configuration(general_data)
     x = open(args.xml, "r").read()
     jc.config_json["tracks"] = jc.tracksToAdd
-    if jc.usejson:
-        jc.write_config()
+    jc.write_config()
     jc.add_default_session(default_session_data)
 
     # jc.text_index() not sure what broke here.