From ee24739b08c0bf3e9fc1f736e280d14ea601f2e4 Mon Sep 17 00:00:00 2001 From: Michael <92275614+m1ch4el0@users.noreply.github.com> Date: Wed, 18 Oct 2023 18:01:57 +0200 Subject: [PATCH] Update alignment.py np.str is depricated for numpy 1.2 replaced by np.str_ --- evcouplings/align/alignment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evcouplings/align/alignment.py b/evcouplings/align/alignment.py index 20d95210..3fef7448 100644 --- a/evcouplings/align/alignment.py +++ b/evcouplings/align/alignment.py @@ -422,7 +422,7 @@ def sequences_to_matrix(sequences): N = len(sequences) L = len(next(iter(sequences))) - matrix = np.empty((N, L), dtype=np.str) + matrix = np.empty((N, L), dtype=np.str_) for i, seq in enumerate(sequences): if len(seq) != L: