Commit f4750112 authored by Langella Olivier's avatar Langella Olivier
Browse files

trying a fix for issue #5 (flush after each line)

parent fb36a75b
......@@ -33,6 +33,7 @@ MonitorTsvOutput::MonitorTsvOutput(const QString &output_directory)
try
{
_p_tsv_directory_writer = new TsvDirectoryWriter(QDir(output_directory));
_p_tsv_directory_writer->setFlushLines(true);
}
catch(OdsException &error)
{
......@@ -47,7 +48,7 @@ MonitorTsvOutput::MonitorTsvOutput(const QString &output_directory)
MonitorTsvOutput::~MonitorTsvOutput()
{
qDebug() << "MonitorTsvOutput::~MonitorTsvOutput begin";
qDebug();
_p_writer->close();
......@@ -71,7 +72,7 @@ MonitorOdsOutput::MonitorOdsOutput(const QString &ods_file)
MonitorOdsOutput::~MonitorOdsOutput()
{
qDebug() << "MonitorOdsOutput::~MonitorOdsOutput begin";
qDebug();
_p_writer->close();
delete _p_ods_writer;
......@@ -83,14 +84,14 @@ MonitorOdsInterfaceOutput::MonitorOdsInterfaceOutput()
MonitorOdsInterfaceOutput::~MonitorOdsInterfaceOutput()
{
qDebug() << "MonitorOdsInterfaceOutput::~MonitorOdsInterfaceOutput begin";
qDebug();
}
void
MonitorOdsInterfaceOutput::writeQuantifyBegin(
const Quantificator *p_quantificator)
{
qDebug() << "MonitorOdsInterfaceOutput::writeQuantifyBegin begin";
qDebug();
_current_group_id = p_quantificator->getMsRunGroup()->getXmlId();
_current_quantification_id = p_quantificator->getXmlId();
try
......@@ -172,14 +173,14 @@ MonitorOdsInterfaceOutput::writeQuantifyBegin(
.arg(_current_group_id)
.arg(ods_error.qwhat()));
}
qDebug() << "MonitorOdsOutput::writeQuantifyBegin end";
qDebug();
}
void
MonitorOdsInterfaceOutput::writePeptideList(
const std::vector<const Peptide *> &isotope_peptides)
{
qDebug() << "MonitorOdsInterfaceOutput::writePeptideList begin";
qDebug();
try
{
_peptide_list_written.append(_current_group_id);
......@@ -232,7 +233,7 @@ MonitorOdsInterfaceOutput::writePeptideList(
.arg(ods_error.qwhat()));
}
qDebug() << "MonitorOdsOutput::writePeptideList end";
qDebug();
}
void
......
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