Skip to content
Snippets Groups Projects
Commit 98afae58 authored by Langella Olivier's avatar Langella Olivier
Browse files

introducing MsRunStatistics

parent 2c3eb033
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,9 @@ void SampleSheet::writeHeaders() {
void SampleSheet::writeIdentificationDataSource(IdentificationDataSource * p_ident_data_source) {
_p_writer->writeLine();
MsRunSp msrun_sp = p_ident_data_source->getMsRunSp();
SpectrumStore::checkMsRunStatistics(msrun_sp);
if (_msrun_statistics) {
SpectrumStore::checkMsRunStatistics(msrun_sp);
}
_p_writer->writeCell(msrun_sp.get()->getXmlId());
_p_writer->writeCell(msrun_sp.get()->getSampleName());
......
......@@ -46,6 +46,7 @@ private :
OdsExport * _p_ods_export;
const Project * _p_project;
CalcWriterInterface * _p_writer;
bool _msrun_statistics = false;
};
#endif // SAMPLESHEET_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment