Skip to content

Commit

Permalink
MAINT: address deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinHuttley committed Sep 3, 2024
1 parent 2736c53 commit 47bbd9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ def test_make_kmerseq(new_seq):
seq = make_seq(seq=raw, name=name, moltype="dna", new_type=new_seq)
seq.info.source = "source1"
kseq = make_kmerseq(seq, dtype=dtype, k=2, moltype="dna")
alpha = get_moltype("dna", new_type=True).alphabet.get_word_alphabet(2)
alpha = get_moltype("dna", new_type=True).alphabet.get_kmer_alphabet(2)
expect_kmers = alpha.to_indices(raw, independent_kmer=False)
expect = zeros(len(alpha), dtype=dtype)
expect[expect_kmers] = 1
Expand Down

0 comments on commit 47bbd9d

Please sign in to comment.