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

write line after line cells to be able to flush it in libodsstream

parent 6a84b4da
...@@ -161,6 +161,9 @@ MonitorOdsInterfaceOutput::writeQuantifyBegin( ...@@ -161,6 +161,9 @@ MonitorOdsInterfaceOutput::writeQuantifyBegin(
_p_writer->setCellAnnotation("natural isotope theoretical ratio"); _p_writer->setCellAnnotation("natural isotope theoretical ratio");
_p_writer->writeCell("niratio"); _p_writer->writeCell("niratio");
} }
_p_writer->writeLine();
} }
catch(OdsException &ods_error) catch(OdsException &ods_error)
{ {
...@@ -248,7 +251,6 @@ MonitorOdsInterfaceOutput::privWriteMatchedPeak( ...@@ -248,7 +251,6 @@ MonitorOdsInterfaceOutput::privWriteMatchedPeak(
{ {
if(peak != nullptr) if(peak != nullptr)
{ {
_p_writer->writeLine();
_p_writer->writeCell(_current_quantification_id); _p_writer->writeCell(_current_quantification_id);
_p_writer->writeCell(_current_group_id); _p_writer->writeCell(_current_group_id);
_p_writer->writeCell(p_msrun->getMsRunIdCstSPtr()->getXmlId()); _p_writer->writeCell(p_msrun->getMsRunIdCstSPtr()->getXmlId());
...@@ -263,6 +265,8 @@ MonitorOdsInterfaceOutput::privWriteMatchedPeak( ...@@ -263,6 +265,8 @@ MonitorOdsInterfaceOutput::privWriteMatchedPeak(
_p_writer->writeCell(peak->getRightBoundary().x); _p_writer->writeCell(peak->getRightBoundary().x);
p_quanti_item->writeOdsPeptideLine(*_p_writer); p_quanti_item->writeOdsPeptideLine(*_p_writer);
_p_writer->writeLine();
} }
} }
catch(OdsException &error) catch(OdsException &error)
......
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