Skip to content

Commit

Permalink
Merge pull request #48 from GavinHuttley/main
Browse files Browse the repository at this point in the history
MAINT: address deprecation
  • Loading branch information
GavinHuttley authored Sep 6, 2024
2 parents 20b0341 + 47bbd9d commit c0a1ead
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ test = [
"pytest",
"pytest-cov",
"pytest-xdist",
"ruff==0.6.2",
"ruff==0.6.3",
]
dev = [
"cogapp",
Expand All @@ -58,7 +58,7 @@ dev = [
"pytest",
"pytest-cov",
"pytest-xdist",
"ruff==0.6.2",
"ruff==0.6.3",
]
doc = ["click",
"ipykernel",
Expand Down
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 c0a1ead

Please sign in to comment.