diff --git a/src/pydna/utils.py b/src/pydna/utils.py index a1993464..f66d797b 100644 --- a/src/pydna/utils.py +++ b/src/pydna/utils.py @@ -129,7 +129,7 @@ def smallest_rotation(s): """ from pydivsufsort import min_rotation - k = min_rotation(s) + k = min_rotation(bytes(s, "ascii")) return s[k:] + s[:k]