From 9a984d7580d4bae557554205980a1a34fde78d4a Mon Sep 17 00:00:00 2001 From: petkoa97 <petkoa97@mi.fu-berlin.de> Date: Sun, 14 Jan 2024 20:20:57 +0100 Subject: [PATCH] changed readme --- README.md | 3 +++ src/naive_search.cpp | 6 +----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 462a7a0..6a9a056 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +# THIS IS THE POWER RANGERS REPO +### This is stolen from https://github.com/SGSSGene/ImplementingSearch + # ImplementingSearch This is an exercise to demonstrate the power of Suffix-Array and FM-Index based searching. diff --git a/src/naive_search.cpp b/src/naive_search.cpp index 2f0a322..775a634 100644 --- a/src/naive_search.cpp +++ b/src/naive_search.cpp @@ -29,17 +29,13 @@ void findOccurences(std::vector<seqan3::dna5> const& ref, std::vector<seqan3::dn }else if(j=m-1) { std::cout << "Infix found at position: " << i <<std::endl; - // std::cout << i << std::endl; - // std::cout << "\n" << std::endl; total_count+=1; } } - if(total_count> 10){ - break; - } + } } -- GitLab