Commit 443c4191 authored by Mikaël Salson's avatar Mikaël Salson

Merge branch 'feature-a/4425-flush-stderr' into 'dev'

vidjil.cpp: flush stderr after each clone, no W50 on stdout

Closes #4425

See merge request !774
parents 3e191cc0 f206d300
Pipeline #243079 failed with stages
in 9 minutes and 33 seconds
......@@ -281,7 +281,7 @@ void WindowsStorage::sortedWindowsToOutput(SampleOutput *output, int max_output,
CloneOutput *clone = output->getClone(it->first);
if (status_by_window[it->first][SEG_CHANGED_WINDOW])
clone->add_warning(W50_WINDOW, "Short or shifted window", LEVEL_WARN);
clone->add_warning(W50_WINDOW, "Short or shifted window", LEVEL_WARN, false);
clone->set("id", it->first);
clone->set("reads", {it->second});
......
......@@ -1645,8 +1645,11 @@ int main (int argc, char **argv)
}
}
if (clone_on_stdout)
cout << endl ;
if (clone_on_stdout)
{
cout << endl ;
cerr.flush();
}
if (output_clone_files)
{
......
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