From 8bb0dc6838d667480fba4ffaca29d13e0c905459 Mon Sep 17 00:00:00 2001 From: BjornFJohansson Date: Mon, 6 Nov 2023 13:53:20 +0000 Subject: [PATCH] fix warning --- src/pydna/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]