diff autogenJB2.py @ 71:e26a8a6d2d2e draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit cf208cecf0140ff43d145a44713ab7108057fb8b
author fubar
date Sat, 30 Mar 2024 07:15:04 +0000
parents 7230a2422507
children 2bdb748df098
line wrap: on
line diff
--- a/autogenJB2.py	Fri Mar 29 09:35:57 2024 +0000
+++ b/autogenJB2.py	Sat Mar 30 07:15:04 2024 +0000
@@ -76,7 +76,7 @@
                     for i, x in enumerate(genome_paths)
                 ],
             )
-            logging.warn("#!!! paths=%s, genomes=%s" % (genome_paths, genomes))
+            logging.debug("#!!! paths=%s, genomes=%s" % (genome_paths, genomes))
             assref_name = jc.process_genomes(genomes[0])
             default_session_data = {
                 "visibility": {
@@ -203,14 +203,14 @@
             trackconf = jc.config_json.get("tracks", [])
             for gnome in jc.genome_names:
                 trackconf += jc.tracksToAdd[gnome]
-            logging.warn(
+            logging.debug(
                 "++++ 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))
+            logging.debug("+++assemblies=%s, gnames=%s" % (assconf, jc.genome_names))
             jc.write_config()
             default_session_data.update({"session_name": sessName})
             track_conf.update(default_session_data)