From bb17752e8349ec6e9ce422b1b6a0ae20bbeef2b6 Mon Sep 17 00:00:00 2001 From: "gregory.ashton" <gregory.ashton@ligo.org> Date: Sun, 20 Aug 2017 21:42:44 +0200 Subject: [PATCH] Return sampler from run --- pyfstat/mcmc_based_searches.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyfstat/mcmc_based_searches.py b/pyfstat/mcmc_based_searches.py index b5d2b4d..13d08f6 100644 --- a/pyfstat/mcmc_based_searches.py +++ b/pyfstat/mcmc_based_searches.py @@ -468,6 +468,7 @@ class MCMCSearch(core.BaseSearchClass): self.lnlikes = lnlikes self.all_lnlikelihood = all_lnlikelihood self._save_data(sampler, samples, lnprobs, lnlikes, all_lnlikelihood) + return sampler def _get_rescale_multiplier_for_key(self, key): """ Get the rescale multiplier from the rescale_dictionary -- GitLab