Commit 28826097 authored by Mikaël Salson's avatar Mikaël Salson Committed by Mathieu Giraud

split-from-imgt.py: Ignore case

I'm not sure what the case should be as some sequences are uppercase while others are lowercase.
Thus the regex should ignore case to be more robust.
parent a1e61669
......@@ -189,7 +189,7 @@ def gap_j(seq):
pos = CUSTOM_118[custom_seq]
if pos is None:
m = j118.search(seq)
m = j118.search(seq, re.IGNORECASE)
if not m:
if len(seq) > PHE_TRP_WARN_SIZE:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment