From cb68fce52c73ec80f9e632bc926b82349e8b9434 Mon Sep 17 00:00:00 2001
From: Colm Talbot <colm.talbot@ligo.org>
Date: Wed, 11 Mar 2020 05:40:15 -0500
Subject: [PATCH] increase default cpnest verbosity

---
 bilby/core/sampler/cpnest.py | 2 +-
 test/sampler_test.py         | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bilby/core/sampler/cpnest.py b/bilby/core/sampler/cpnest.py
index 1ed64e89..4c46e02f 100644
--- a/bilby/core/sampler/cpnest.py
+++ b/bilby/core/sampler/cpnest.py
@@ -38,7 +38,7 @@ class Cpnest(NestedSampler):
         {self.outdir}/cpnest_{self.label}/
 
     """
-    default_kwargs = dict(verbose=1, nthreads=1, nlive=500, maxmcmc=1000,
+    default_kwargs = dict(verbose=3, nthreads=1, nlive=500, maxmcmc=1000,
                           seed=None, poolsize=100, nhamiltonian=0, resume=True,
                           output=None, proposals=None, n_periodic_checkpoint=8000)
 
diff --git a/test/sampler_test.py b/test/sampler_test.py
index d91e76df..1bc4b591 100644
--- a/test/sampler_test.py
+++ b/test/sampler_test.py
@@ -112,14 +112,14 @@ class TestCPNest(unittest.TestCase):
         del self.sampler
 
     def test_default_kwargs(self):
-        expected = dict(verbose=1, nthreads=1, nlive=500, maxmcmc=1000,
+        expected = dict(verbose=3, nthreads=1, nlive=500, maxmcmc=1000,
                         seed=None, poolsize=100, nhamiltonian=0, resume=True,
                         output='outdir/cpnest_label/', proposals=None,
                         n_periodic_checkpoint=8000)
         self.assertDictEqual(expected, self.sampler.kwargs)
 
     def test_translate_kwargs(self):
-        expected = dict(verbose=1, nthreads=1, nlive=250, maxmcmc=1000,
+        expected = dict(verbose=3, nthreads=1, nlive=250, maxmcmc=1000,
                         seed=None, poolsize=100, nhamiltonian=0, resume=True,
                         output='outdir/cpnest_label/', proposals=None,
                         n_periodic_checkpoint=8000)
-- 
GitLab