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

catch ODS exception

parent e50b216f
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,7 @@ void ComparBaseSheet::writeProteinMatch(const ProteinMatch * p_protein_match) {
}
void ComparBaseSheet::writeIdentificationGroup(IdentificationGroup * p_ident) {
qDebug() << "ComparBaseSheet::writeIdentificationGroup begin";
qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__ << " begin";
_p_current_identification_group = p_ident;
writeHeaders(p_ident);
......@@ -153,11 +153,14 @@ void ComparBaseSheet::writeIdentificationGroup(IdentificationGroup * p_ident) {
unsigned int brank = b->getGrpProteinSp().get()->getRank();
return std::tie(agroup, asubgroup, arank) < std::tie(bgroup, bsubgroup, brank);
});
qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__ ;
for (ProteinMatch * p_protein_match : protein_match_list) {
writeProteinMatch(p_protein_match);
}
qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__ ;
/*
if (!_first_cell_coordinate.isEmpty()) {
QString last_cell_coordinate = _p_writer->getOdsCellCoordinate();
qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__ << " " << _first_cell_coordinate<< " " << last_cell_coordinate;
......@@ -165,7 +168,8 @@ void ComparBaseSheet::writeIdentificationGroup(IdentificationGroup * p_ident) {
_p_writer->addColorScale(color_scale);
_first_cell_coordinate = "";
}
*/
_p_writer->writeLine();
_p_writer->writeLine();
qDebug() << "ComparBaseSheet::writeIdentificationGroup end";
qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__ << " end";
}
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