diff --git a/service/port/port.py b/service/port/port.py index 4b5a34e07..fc75227e0 100644 --- a/service/port/port.py +++ b/service/port/port.py @@ -240,7 +240,7 @@ class Port(object): if re.match(dnaPattern, firstLine): return "DNA", (cls.importDna(string),) dnaChatPattern = "{})>(?P[^<>]+)".format(dnaPattern) - m = re.match(dnaChatPattern, firstLine) + m = re.search(dnaChatPattern, firstLine) if m: return "DNA", (cls.importDna(m.group("dna"), fitName=m.group("fitName")),)