From 63d2e70824f276cb33e6b61b1699e55b1d5ffefe Mon Sep 17 00:00:00 2001 From: Stefan Lang Date: Tue, 14 Nov 2023 10:50:59 +0100 Subject: [PATCH] Forgot the return for the new check... --- this/src/fast_mapper.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/this/src/fast_mapper.rs b/this/src/fast_mapper.rs index bda9b2d..05de651 100644 --- a/this/src/fast_mapper.rs +++ b/this/src/fast_mapper.rs @@ -424,9 +424,11 @@ impl FastMapper{ } if good.len() == 2{ if self.names_store[good[0]].to_string() == remove_suffix_string_int( &self.names_store[good[1]] ){ + ret.push( good[0] ); if report { eprintln!("4 This was selected as good: {} or {}\n",best_gene, self.names_store[good[0]] ) } + return true } }