Skip to content

Commit

Permalink
Update alignment.py
Browse files Browse the repository at this point in the history
np.str is depricated for numpy 1.2 replaced by np.str_
  • Loading branch information
m1ch4el0 authored Oct 18, 2023
1 parent af27842 commit ee24739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evcouplings/align/alignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ee24739

Please sign in to comment.