Skip to content

Commit

Permalink
Merge pull request #3794 from hendrikweisser/ffid-debug-log
Browse files Browse the repository at this point in the history
Small logging improvement in FeatureFinderIdentification
  • Loading branch information
hroest committed Oct 15, 2018
2 parents f6e0426 + ee0f67d commit 2e4bcee
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -288,10 +288,11 @@ namespace OpenMS
<< " chromatogram(s)." << endl;

LOG_INFO << "Detecting chromatographic peaks..." << endl;
Log_info.remove(cout); // suppress status output from OpenSWATH
// suppress status output from OpenSWATH, unless in debug mode:
if (debug_level_ < 1) Log_info.remove(cout);
feat_finder_.pickExperiment(chrom_data_, features, library_,
TransformationDescription(), ms_data_);
Log_info.insert(cout);
if (debug_level_ < 1) Log_info.insert(cout); // revert logging change
LOG_INFO << "Found " << features.size() << " feature candidates in total."
<< endl;
ms_data_.reset(); // not needed anymore, free up the memory
Expand Down

0 comments on commit 2e4bcee

Please sign in to comment.