Skip to content

Commit

Permalink
Compiling now...
Browse files Browse the repository at this point in the history
  • Loading branch information
stela2502 committed Nov 14, 2023
1 parent 9260eae commit b26ae9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions this/src/fast_mapper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,6 @@ impl FastMapper{
// now we have one possibility left -> As many int reads as there are normal reads.
// that is exactly what one would expect if it is actually a normal read
fn remove_suffix_string_int(s: &str) -> String {
let suffix_to_remove = format!("{}_int", suffix);

if s.ends_with("_int") {
return s[..s.len() - 4 ].to_string();
Expand All @@ -424,11 +423,12 @@ impl FastMapper{
s.to_string()
}
if good.len() == 2{
if self.names_store[good[0]].to_string() == remove_suffix_string_int( self.names_store[good[1]] ){
if self.names_store[good[0]].to_string() == remove_suffix_string_int( &self.names_store[good[1]] ){
if report {
eprintln!("4 This was selected as good: {} or {}\n",best_gene, self.names_store[good[0]] )
}
}
}


}
Expand Down

0 comments on commit b26ae9e

Please sign in to comment.