From 2441b00a66e8d635d6ecb334ef32521f3195c34f Mon Sep 17 00:00:00 2001 From: Olivier Langella <Olivier.Langella@moulon.inra.fr> Date: Wed, 22 Mar 2017 17:25:31 +0100 Subject: [PATCH] peptide numbering --- src/gui/peptide_list_view/peptidetablemodel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/peptide_list_view/peptidetablemodel.cpp b/src/gui/peptide_list_view/peptidetablemodel.cpp index 9fe229a9b..5f87e1833 100644 --- a/src/gui/peptide_list_view/peptidetablemodel.cpp +++ b/src/gui/peptide_list_view/peptidetablemodel.cpp @@ -24,6 +24,7 @@ #include "peptidetablemodel.h" #include <QDebug> +#include <pappsomspp/grouping/grppeptide.h> PeptideTableProxyModel::PeptideTableProxyModel(QObject *parent,PeptideTableModel* peptide_table_model_p): QSortFilterProxyModel(parent) @@ -151,7 +152,7 @@ QVariant PeptideTableModel::data(const QModelIndex &index, int role ) const { return QVariant(); } if (col == 1) { - return _p_protein_match->getPeptideMatchList().at(row)->getIdentificationDataSource()->getResourceName(); + return _p_protein_match->getPeptideMatchList().at(row)->getGrpPeptideSp().get()->getGroupingId(); } if (col == 2) { return _p_protein_match->getPeptideMatchList().at(row)->getIdentificationDataSource()->getResourceName(); -- GitLab