diff autogenJB2.py @ 36:5f39f745682f draft

planemo upload for repository https://github.com/usegalaxy-eu/temporary-tools/tree/master/jbrowse2 commit 80b849766a962bac4bd0bb8cb69c118cc42699cd-dirty
author fubar
date Thu, 29 Feb 2024 00:47:58 +0000
parents 15da358c3108
children 07849bf248e3
line wrap: on
line diff
--- a/autogenJB2.py	Wed Feb 28 10:08:57 2024 +0000
+++ b/autogenJB2.py	Thu Feb 29 00:47:58 2024 +0000
@@ -109,9 +109,9 @@
                             }
                         }
                 elif trext == 'bam':
-                     track_conf["conf"] = {"options": {"bam": {"bam_indices": {"bam_index": track[3]}}}}
+                     track_conf = {"conf": {"options": {"bam": {"bam_indices": {"bam_index": track[3]}}}}}
                 elif trext == 'cram':
-                     track_conf["conf"] = {"options": {"cram": {"cram_indices": {"cram_index": track[3]}}}}
+                     track_conf = {"conf": {"options": {"cram": {"cram_indices": {"cram_index": track[3]}}}}}
                 else:
                     track_conf = {}
                 track_conf["format"] = trext