From 9425828749e81111da8fe92fb81da349544b6e81 Mon Sep 17 00:00:00 2001
From: Olivier Langella <Olivier.Langella@moulon.inra.fr>
Date: Fri, 5 May 2017 09:09:33 +0200
Subject: [PATCH] display evalue and hyperscore in peptide details

---
 src/gui/peptide_detail_view/peptidewindow.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gui/peptide_detail_view/peptidewindow.cpp b/src/gui/peptide_detail_view/peptidewindow.cpp
index 6a61e55f..e49d3049 100644
--- a/src/gui/peptide_detail_view/peptidewindow.cpp
+++ b/src/gui/peptide_detail_view/peptidewindow.cpp
@@ -117,6 +117,8 @@ void PeptideWindow::updateDisplay() {
         ui->z_label->setText(QString("%1").arg(_p_peptide_match->getCharge()));
         ui->scan_label->setText(QString("%1").arg(_p_peptide_match->getScan()));
         ui->modification_label->setText(_p_peptide_match->getPeptideXtpSp().get()->getModifString());
+	ui->hyperscore_label->setText(_p_peptide_match->getParam(PeptideMatchParam::tandem_hyperscore).toString());
+	ui->evalue_label->setText(QString::number(_p_peptide_match->getEvalue(), 'g', 4));
 
 
     }
-- 
GitLab