Commit 81a45156 authored by Olivier Langella's avatar Olivier Langella
Browse files

order quanti items and samples in the compar output

parent 88b46558
......@@ -74,6 +74,18 @@ void MonitorComparInterfaceOutput::writeQuantifyBegin(const Quantificator * p_qu
void MonitorComparInterfaceOutput::writeQuantifyEnd() {
qDebug() << "MonitorComparInterfaceOutput::writeQuantifyEnd begin";
//sort quanti items :
sort(_qitem_list.begin(), _qitem_list.end(), [](const QuantiItemBase * l1, const QuantiItemBase * l2) {
return (l1->getMzId() < l2->getMzId());
}
);
//sort samples :
sort(_msrun_list.begin(), _msrun_list.end(), [](const Msrun * l1, const Msrun * l2) {
return (l1->getXmlId() < l2->getXmlId());
}
);
//write headers
_p_writer->writeLine();
......
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