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

peptide numbering

parent dce62412
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
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