Commit a71aada0 authored by Cyprien Borée's avatar Cyprien Borée
Browse files

Use Filter object in testGetNSignicativeKmers

Since the function testGetNSignificativeKmers in testFilter was
using pair and not Filter object, it now use the filter object getter for
the pair.

For more informations, see #3283.
parent cbd52c93
......@@ -362,7 +362,8 @@ void testGetNSignicativeKmers(){
for(int i = 0; i < germline.rep_5.size(); ++i){
Sequence seq =;
filtered = filterBioReaderWithACAutomaton(germline.automaton_5, germline.rep_5, seq.sequence, 1);
FilterWithACAutomaton *f = germline.getFilter();
filtered = f->filterBioReaderWithACAutomaton(germline.rep_5, seq.sequence, 1);
int j = 0;
while(j < filtered.size()){
if(extractGeneName(filtered.label(j)) == extractGeneName(seq.label)){
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment