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

first mzid read

parent c80eea59
No related branches found
No related tags found
No related merge requests found
......@@ -27,11 +27,11 @@ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Xml_EXECUTABLE_COMPILE_FLAGS} ${Qt5
#sudo apt-get install libpappsomspp-dev
#FIND_PACKAGE( Pappsomspp REQUIRED )
SET (PAPPSOMSPP_DIR "/home/olivier/eclipse/git/pappsomspp")
FIND_PACKAGE( Pappsomspp REQUIRED )
# SET (PAPPSOMSPP_DIR "/home/olivier/eclipse/git/pappsomspp")
# SET (PAPPSOMSPP_DIR "/home/langella/developpement/git/pappsomspp")
SET (PAPPSOMSPP_INCLUDE_DIR "${PAPPSOMSPP_DIR}/src")
SET (PAPPSOMSPP_QT4_LIBRARY "${PAPPSOMSPP_DIR}/cbuild/src/libpappsomspp-qt4.so")
# SET (PAPPSOMSPP_INCLUDE_DIR "${PAPPSOMSPP_DIR}/src")
# SET (PAPPSOMSPP_QT4_LIBRARY "${PAPPSOMSPP_DIR}/cbuild/src/libpappsomspp-qt4.so")
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake_modules)
......
......@@ -22,6 +22,7 @@
******************************************************************************/
#include "peptidematch.h"
#include <pappsomspp/pappsoexception.h>
std::hash<std::string> PeptideMatch::_hash_fn;
......@@ -182,6 +183,9 @@ unsigned int PeptideMatch::getCharge() const {
}
const PeptideXtpSp & PeptideMatch::getPeptideXtpSp() const {
//if (_sp_grp_peptide.get() == nullptr) {
// throw pappso::PappsoException(QObject::tr("Peptide is null in %1 %2").arg(_msrunid_sp->getXmlId()).arg(this->getScan()));
//}
return _peptide_sp;
}
......
......@@ -195,7 +195,7 @@ void IdentificationPwizReader::read(
.arg(QString::fromStdString(spid_item.get()->id))
);
}
p_peptide_match->setPeptideXtpSp(it_pep->second);
p_peptide_match_from_evidence->setPeptideXtpSp(it_pep->second);
auto it = map_id2protein.find(QString::fromStdString(peptide_evidence_sp.get()->dbSequencePtr.get()->id));
if (it == map_id2protein.end()) {
......
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