diff autogenJB2.py @ 69:7230a2422507 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 2c7d6c19a42c421de987ebfdf927c64062ebd79f-dirty
author fubar
date Fri, 29 Mar 2024 09:14:59 +0000
parents cefe9dbf1d80
children e26a8a6d2d2e
line wrap: on
line diff
--- a/autogenJB2.py	Fri Mar 29 07:27:20 2024 +0000
+++ b/autogenJB2.py	Fri Mar 29 09:14:59 2024 +0000
@@ -204,9 +204,13 @@
             for gnome in jc.genome_names:
                 trackconf += jc.tracksToAdd[gnome]
             logging.warn(
-                "^^%% adding trackconf=%s for gnome %s" % (trackconf, gnome)
+                "++++ adding trackconf=%s for gnome %s" % (trackconf, gnome)
             )
             jc.config_json["tracks"] = trackconf
+            assconf = jc.config_json.get("assemblies", [])
+            assconf += jc.assemblies
+            jc.config_json["assemblies"] = assconf
+            logging.warn("+++assemblies=%s, gnames=%s" % (assconf, jc.genome_names))
             jc.write_config()
             default_session_data.update({"session_name": sessName})
             track_conf.update(default_session_data)