Skip to content

Commit

Permalink
fix: update miseq regex use . instead of \N
Browse files Browse the repository at this point in the history
  • Loading branch information
rroutsong committed Feb 2, 2024
1 parent 4c21fd1 commit 1183c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def valid_runid(id_to_check):


def valid_run_input(run):
regex_run_id = r"(\d{6})_([A-Z]{1,2}\d{5,6})(_\d{1,4})?(_\N+)"
regex_run_id = r"(\d{6})_([A-Z]{1,2}\d{5,6})(_\d{1,4})?_(.+)"
match_id = re.search(regex_run_id, run, re.MULTILINE)
if match_id:
return run
Expand Down

0 comments on commit 1183c31

Please sign in to comment.