Skip to content

Commit

Permalink
remove tryptic check for testing purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
tibvdm committed Aug 23, 2024
1 parent c1953d5 commit 1219b27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sa-index/src/sa_searcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ impl Searcher {
// self.proteins.input_string[suffix - skip - 1] == SEPARATION_CHARACTER
// ) && self.proteins.input_string[suffix - skip + search_string.len() + 1] != b'P')
// )
&& (
&& ((
// If the skip factor is 0, the entire search string should match.
skip == 0
// If the skip factor is not 0, the prefix should match the prefix of the search string.
Expand All @@ -370,7 +370,7 @@ impl Searcher {
current_search_string_suffix,
&self.proteins.input_string[suffix..suffix + search_string.len() - skip],
equate_il
)
))
{
matching_suffixes.push((suffix - skip) as i64);

Expand Down

0 comments on commit 1219b27

Please sign in to comment.