Skip to content

Commit 1e4a40a

Browse files
fix: update test_get_ref_seq_caches_contig to use correct cache verification
1 parent f9303bb commit 1e4a40a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/test_veff.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"AAAAAAAAAA" # 3' UTR (pos 45-54)
4343
)
4444

45-
REV_SEQ = "AAA" "TCATGCATGCAT" "AAAA" # minus-strand gene at pos 4-15
45+
REV_SEQ = "AAATCATGCATGCATAAAA" # minus-strand gene at pos 4-15
4646

4747

4848
# ── Fixture helpers ───────────────────────────────────────────────────────────
@@ -271,7 +271,6 @@ def test_get_ref_seq_single_base(self):
271271

272272
def test_get_ref_seq_caches_contig(self):
273273
self.ann.get_ref_seq("chr1", 4, 6)
274-
assert "chr1" in self.ann._genome_cache
275274
# Deleting the zarr array confirms the cache is served on the second call.
276275
del self.ann._genome["chr1"]
277276
assert self.ann.get_ref_seq("chr1", 4, 6) == "ATG"

0 commit comments

Comments
 (0)