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

fix isotope number

parent 060643c3
No related branches found
No related tags found
No related merge requests found
......@@ -98,6 +98,7 @@ PeptideWindow::PeptideWindow(ProjectWindow *parent):
ui->statusbar->addWidget(_ion_label);
ui->spectrum_widget->setMaximumIsotopeNumber(3);
ui->spectrum_widget->setMaximumIsotopeRank(6);
qRegisterMetaType<pappso::SpectrumSp>("pappso::SpectrumSp");
#if QT_VERSION >= 0x050000
......@@ -283,7 +284,6 @@ void PeptideWindow::setPeptideEvidence(PeptideEvidence * p_peptide_evidence) {
pappso::PeptideSp peptide = _p_peptide_evidence->getPeptideXtpSp();
ui->spectrum_widget->setMs2Precision(_p_precision);
ui->spectrum_widget->setPeptideCharge(_p_peptide_evidence->getCharge());
ui->spectrum_widget->setMaximumIsotopeNumber(0);
ui->spectrum_widget->setPeptideSp(peptide);
//ui->spectrum_widget->plot();
......
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