comparison 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
comparison
equal deleted inserted replaced
68:c4eb6a85db70 69:7230a2422507
202 jc.add_general_configuration({}) 202 jc.add_general_configuration({})
203 trackconf = jc.config_json.get("tracks", []) 203 trackconf = jc.config_json.get("tracks", [])
204 for gnome in jc.genome_names: 204 for gnome in jc.genome_names:
205 trackconf += jc.tracksToAdd[gnome] 205 trackconf += jc.tracksToAdd[gnome]
206 logging.warn( 206 logging.warn(
207 "^^%% adding trackconf=%s for gnome %s" % (trackconf, gnome) 207 "++++ adding trackconf=%s for gnome %s" % (trackconf, gnome)
208 ) 208 )
209 jc.config_json["tracks"] = trackconf 209 jc.config_json["tracks"] = trackconf
210 assconf = jc.config_json.get("assemblies", [])
211 assconf += jc.assemblies
212 jc.config_json["assemblies"] = assconf
213 logging.warn("+++assemblies=%s, gnames=%s" % (assconf, jc.genome_names))
210 jc.write_config() 214 jc.write_config()
211 default_session_data.update({"session_name": sessName}) 215 default_session_data.update({"session_name": sessName})
212 track_conf.update(default_session_data) 216 track_conf.update(default_session_data)
213 jc.add_default_session(default_session_data) 217 jc.add_default_session(default_session_data)
214 # jc.text_index() not sure what broke here. 218 # jc.text_index() not sure what broke here.