From c3d5d74c63867b691b0886263cce2a11c79d6837 Mon Sep 17 00:00:00 2001 From: Joe Zhu Date: Wed, 9 Aug 2017 14:03:32 +0100 Subject: [PATCH] turn off deploid mcmc progress --- .DEploid | 2 +- src/DEploid/mcmc.cpp | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.DEploid b/.DEploid index 8dc7366..ca779cb 160000 --- a/.DEploid +++ b/.DEploid @@ -1 +1 @@ -Subproject commit 8dc73663f442688055bc277910b845234e3dceb5 +Subproject commit ca779cb3547cb4ebb394199b172ec13eb9707771 diff --git a/src/DEploid/mcmc.cpp b/src/DEploid/mcmc.cpp index a9412c4..1a6fc51 100644 --- a/src/DEploid/mcmc.cpp +++ b/src/DEploid/mcmc.cpp @@ -302,11 +302,15 @@ void McmcMachinery::runMcmcChain( bool showProgress, bool useIBD, bool notInR ){ dout << endl; dout << "MCMC iteration: " << this->currentMcmcIteration_ << endl; if ( this->currentMcmcIteration_ > 0 && this->currentMcmcIteration_%100 == 0 && showProgress ){ - clog << "\r" << " MCMC step" << setw(4) << int(currentMcmcIteration_ * 100 / this->maxIteration_) << "% completed."<maxIteration_) << "% completed."<sampleMcmcEvent(useIBD); } - clog << "\r" << " MCMC step" << setw(4) << 100 << "% completed."<mcmcSample_->hap = this->currentHap_; this->writeLastFwdProb(useIBD);