From 6017eadb2c6f8e87a3883fccf7cb0a08892b2d8b Mon Sep 17 00:00:00 2001 From: Harrison Date: Fri, 28 Apr 2023 11:30:23 -0500 Subject: [PATCH] Clean sequences of line breaks and carriage return --- src/bmlsa/datatypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bmlsa/datatypes.py b/src/bmlsa/datatypes.py index f007ca6..09a0504 100644 --- a/src/bmlsa/datatypes.py +++ b/src/bmlsa/datatypes.py @@ -14,7 +14,7 @@ class AlignedSequence: self._end = end self._id = id self._name = name - self._sequence = sequence + self._sequence = sequence.replace("\n", "").replace("\r", "") self._score = score @property