Skip to content

Commit 4c21fd1

Browse files
committed
fix: update regex for miseq run id compatibility
1 parent 4d39d40 commit 4c21fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def valid_runid(id_to_check):
8383

8484

8585
def valid_run_input(run):
86-
regex_run_id = r"(\d{6})_([A-Z]{2}\d{5,6})(_\d{1,4})?_([A-Z0-9]{9,10})"
86+
regex_run_id = r"(\d{6})_([A-Z]{1,2}\d{5,6})(_\d{1,4})?(_\N+)"
8787
match_id = re.search(regex_run_id, run, re.MULTILINE)
8888
if match_id:
8989
return run

0 commit comments

Comments
 (0)