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

read identification engine statistics and parameters

parent da90ec2c
No related branches found
No related tags found
No related merge requests found
...@@ -633,7 +633,9 @@ void ProjectWindow::setProjectSp(ProjectSp project_sp) { ...@@ -633,7 +633,9 @@ void ProjectWindow::setProjectSp(ProjectSp project_sp) {
refresh(); refresh();
this->setEnabled(true); this->setEnabled(true);
//doAutomaticFilterParametersChanged(params);
//doFdrChanged();
} }
......
...@@ -250,7 +250,10 @@ bool XtpXpipSaxHandler::startElement_stat(QXmlAttributes attributes) { ...@@ -250,7 +250,10 @@ bool XtpXpipSaxHandler::startElement_stat(QXmlAttributes attributes) {
MsRunStatistics type = static_cast<MsRunStatistics>(attributes.value("key").toUInt()); MsRunStatistics type = static_cast<MsRunStatistics>(attributes.value("key").toUInt());
_sp_msrun.get()->setMsRunStatistics(type, attributes.value("value")); _sp_msrun.get()->setMsRunStatistics(type, attributes.value("value"));
} }
else if (_sp_current_identification_source.get() != nullptr) {
IdentificationEngineStatistics type = static_cast<IdentificationEngineStatistics>(attributes.value("key").toUInt());
_sp_current_identification_source.get()->setIdentificationEngineStatistics(type, attributes.value("value"));
}
qDebug() << "startElement_stat end" ; qDebug() << "startElement_stat end" ;
return true; return true;
} }
...@@ -264,7 +267,11 @@ bool XtpXpipSaxHandler::startElement_param(QXmlAttributes attributes) { ...@@ -264,7 +267,11 @@ bool XtpXpipSaxHandler::startElement_param(QXmlAttributes attributes) {
if (_sp_current_peptide_evidence.get() != nullptr) { if (_sp_current_peptide_evidence.get() != nullptr) {
PeptideEvidenceParam type = static_cast<PeptideEvidenceParam>(attributes.value("key").toUInt()); PeptideEvidenceParam type = static_cast<PeptideEvidenceParam>(attributes.value("key").toUInt());
_sp_current_peptide_evidence.get()->setParam(type, QVariant( attributes.value("value").toDouble())); _sp_current_peptide_evidence.get()->setParam(type, QVariant( attributes.value("value")));
}
else if (_sp_current_identification_source.get() != nullptr) {
IdentificationEngineParam type = static_cast<IdentificationEngineParam>(attributes.value("key").toUInt());
_sp_current_identification_source.get()->setIdentificationEngineParam(type, attributes.value("value"));
} }
qDebug() << "startElement_param end" ; qDebug() << "startElement_param 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