diff jbrowse2.py @ 11:f5ce31c2f47d draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 4baeb144cafbb61ae0587cce731066129097c168
author fubar
date Sat, 20 Jan 2024 09:33:22 +0000
parents c60b17456297
children 247e17ce504b
line wrap: on
line diff
--- a/jbrowse2.py	Sat Jan 20 07:13:26 2024 +0000
+++ b/jbrowse2.py	Sat Jan 20 09:33:22 2024 +0000
@@ -1174,7 +1174,7 @@
 
         refName = None
         if data.get("defaultLocation", ""):
-            loc_match = re.search(r"^(\w+):(\d+)\.+(\d+)$", data["defaultLocation"])
+            loc_match = re.search(r"^(\w.+):(\d+)\.+(\d+)$", data["defaultLocation"])
             if loc_match:
                 refName = loc_match.group(1)
                 start = int(loc_match.group(2))