From 69206e273075f3c061aa0896a7f171a2004fb75d Mon Sep 17 00:00:00 2001 From: Arthur Zucker Date: Tue, 21 Jan 2025 14:38:20 +0100 Subject: [PATCH] update --- bindings/python/src/decoders.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/src/decoders.rs b/bindings/python/src/decoders.rs index 2165c6e74..334e0ff27 100644 --- a/bindings/python/src/decoders.rs +++ b/bindings/python/src/decoders.rs @@ -664,7 +664,7 @@ impl PyDecodeStream { #[pyo3(signature = (sequence_ids), text_signature = "(self, sequence_ids)")] fn with_sequence(&mut self, sequence_ids: Vec) { self.ids = sequence_ids; - self.prefix_index = 0; + self.prefix_index = sequence_ids.len(); self.prefix = "".to_string(); }