Commit a587ba8e authored by Tatiana Rocher's avatar Tatiana Rocher
Browse files

modif of extract for the tests

parent 4ae9714b
......@@ -17,7 +17,7 @@ WindowsStorage *WindowExtractor::extract(OnlineFasta *reads, MultiGermline *mult
}
int stop=0;
while (reads->hasNext() && stop < stop_after) {
while (reads->hasNext() && stop != stop_after) {
reads->next();
nb_reads++;
stop++;
......
......@@ -46,7 +46,7 @@ class WindowExtractor {
*/
WindowsStorage *extract(OnlineFasta *reads, MultiGermline *multigermline,
size_t w,
map<string, string> &windows_labels, int stop_after);
map<string, string> &windows_labels, int stop_after=-1);
/**
* @return the average length of sequences whose segmentation has been classified as seg
......
Supports Markdown
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