From c80eea59ec0e9ad9c1815037aa98983e4befb01c Mon Sep 17 00:00:00 2001
From: Olivier Langella <Olivier.Langella@moulon.inra.fr>
Date: Mon, 19 Jun 2017 22:29:00 +0200
Subject: [PATCH] debug message

---
 src/CMakeLists.txt               | 4 ++--
 src/core/identificationgroup.cpp | 2 ++
 src/core/proteinmatch.cpp        | 5 +++--
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d8c38eee5..e91c08516 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -28,8 +28,8 @@ 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")
- SET (PAPPSOMSPP_DIR  "/home/langella/developpement/git/pappsomspp")
+ 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")
 
diff --git a/src/core/identificationgroup.cpp b/src/core/identificationgroup.cpp
index 490ebbf5d..6ae01e73c 100644
--- a/src/core/identificationgroup.cpp
+++ b/src/core/identificationgroup.cpp
@@ -116,12 +116,14 @@ unsigned int IdentificationGroup::countProteinMatch(ValidationState state) const
 }
 
 void IdentificationGroup::updateAutomaticFilters(const AutomaticFilterParameters & automatic_filter_parameters) {
+    qDebug() << "IdentificationGroup::updateAutomaticFilters begin" ;
     for (auto & p_protein_match : _protein_match_list) {
         p_protein_match->updateAutomaticFilters(automatic_filter_parameters);
     }
 
     if (_p_grp_experiment != nullptr) {
     }
+    qDebug() << "IdentificationGroup::updateAutomaticFilters end" ;
 
 }
 ProteinMatch * IdentificationGroup::getProteinMatchInstance(const QString accession) {
diff --git a/src/core/proteinmatch.cpp b/src/core/proteinmatch.cpp
index ca7b1f7e7..de44379b6 100644
--- a/src/core/proteinmatch.cpp
+++ b/src/core/proteinmatch.cpp
@@ -64,7 +64,7 @@ bool ProteinMatch::contains(PeptideMatch * peptide_match) const {
 }
 
 void ProteinMatch::updateAutomaticFilters(const AutomaticFilterParameters & automatic_filter_parameters) {
-    //qDebug() <<"ProteinMatch::updateAutomaticFilters begin " ;
+    qDebug() <<"ProteinMatch::updateAutomaticFilters begin " ;
     _proxy_valid = false;
     unsigned int number_of_valid_peptides =0;
     bool cross_sample = automatic_filter_parameters.getFilterCrossSamplePeptideNumber();
@@ -91,6 +91,7 @@ void ProteinMatch::updateAutomaticFilters(const AutomaticFilterParameters & auto
         }
     }
 
+    qDebug() <<"ProteinMatch::updateAutomaticFilters begin 2" ;
     if (number_of_valid_peptides == 0) {
 
         _proxy_valid = false;
@@ -104,7 +105,7 @@ void ProteinMatch::updateAutomaticFilters(const AutomaticFilterParameters & auto
             }
         }
     }
-    //qDebug() <<"ProteinMatch::updateAutomaticFilters end " << number_of_valid_peptides ;
+    qDebug() <<"ProteinMatch::updateAutomaticFilters end " << number_of_valid_peptides ;
 }
 
 const ProteinXtpSp & ProteinMatch::getProteinXtpSp() const {
-- 
GitLab