diff --git a/src/gui/project_view/projectwindow.cpp b/src/gui/project_view/projectwindow.cpp index ba6779254356b039cd0df5fb1ebc5056b973c1b2..2ed43bf75a666b7e70024d7702580392e85d170e 100644 --- a/src/gui/project_view/projectwindow.cpp +++ b/src/gui/project_view/projectwindow.cpp @@ -633,7 +633,9 @@ void ProjectWindow::setProjectSp(ProjectSp project_sp) { refresh(); this->setEnabled(true); - + + //doAutomaticFilterParametersChanged(params); + //doFdrChanged(); } diff --git a/src/input/xtpxpipsaxhandler.cpp b/src/input/xtpxpipsaxhandler.cpp index 73e7b1266fe093920e07b85a1054bad59d37090c..f2886d8bfad41e292d10b0ab4bd67c84ec952bad 100644 --- a/src/input/xtpxpipsaxhandler.cpp +++ b/src/input/xtpxpipsaxhandler.cpp @@ -250,7 +250,10 @@ bool XtpXpipSaxHandler::startElement_stat(QXmlAttributes attributes) { MsRunStatistics type = static_cast<MsRunStatistics>(attributes.value("key").toUInt()); _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" ; return true; } @@ -264,7 +267,11 @@ bool XtpXpipSaxHandler::startElement_param(QXmlAttributes attributes) { if (_sp_current_peptide_evidence.get() != nullptr) { 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" ;