diff --git a/src/core/identification_sources/identificationdatasource.cpp b/src/core/identification_sources/identificationdatasource.cpp index cabdf57e8d80db59c02ea9aa61e1aa39e4afe32e..26bc4ca1f4c91a863483d8392035cdca04ec546d 100644 --- a/src/core/identification_sources/identificationdatasource.cpp +++ b/src/core/identification_sources/identificationdatasource.cpp @@ -201,7 +201,8 @@ IdentificationDataSource::getMassSpectrumCstSPtr(unsigned int scan_number) const { scan_number = scan_number - 1; } - pappso::MsRunReaderSp msrun_reader_sp = _ms_run_sp.get()->getMsRunReaderSp(); + pappso::MsRunReaderSPtr msrun_reader_sp = + _ms_run_sp.get()->getMsRunReaderSPtr(); if(msrun_reader_sp == nullptr) { @@ -212,7 +213,7 @@ IdentificationDataSource::getMassSpectrumCstSPtr(unsigned int scan_number) const .arg(_ms_run_sp.get()->getFileName())); } } - msrun_reader_sp = _ms_run_sp.get()->getMsRunReaderSp(); + msrun_reader_sp = _ms_run_sp.get()->getMsRunReaderSPtr(); if(msrun_reader_sp == nullptr) { throw pappso::ExceptionNotFound( @@ -224,7 +225,7 @@ IdentificationDataSource::getMassSpectrumCstSPtr(unsigned int scan_number) const // qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__ << // _ms_run_sp.get()->getMsRunReaderSp().get()->getSpectrumListSize(); - qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__ ; + qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__; std::size_t spectrum_index = msrun_reader_sp.get()->scanNumber2SpectrumIndex(scan_number); qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__ << " " diff --git a/src/gui/peptide_list_view/peptidetableproxymodel.cpp b/src/gui/peptide_list_view/peptidetableproxymodel.cpp index 9eb0a037a6756e92a786d8b9c882aefcb72884a9..b7685c0878c956c3e90653f2bf2cfa162e819433 100644 --- a/src/gui/peptide_list_view/peptidetableproxymodel.cpp +++ b/src/gui/peptide_list_view/peptidetableproxymodel.cpp @@ -146,7 +146,7 @@ PeptideTableProxyModel::filterAcceptsRow(int source_row, { msrun_ok = false; if(peptide_evidence->getMsRunP() - ->getFilename() + ->getFileName() .toLower() .contains(file_search_string)) {