Skip to content
Snippets Groups Projects
Commit 7cf9da71 authored by Colm Talbot's avatar Colm Talbot
Browse files

TEST: make sure run test returns valid values

parent 67cc263c
No related branches found
No related tags found
No related merge requests found
......@@ -902,6 +902,7 @@ class Dynesty(NestedSampler):
import pandas as pd
self._set_sampling_method()
self._setup_pool()
self.sampler = self.sampler_init(
loglikelihood=_log_likelihood_wrapper,
prior_transform=_prior_transform_wrapper,
......@@ -916,6 +917,8 @@ class Dynesty(NestedSampler):
self.pbar = tqdm(file=sys.stdout, initial=self.sampler.it)
self.sampler.run_nested(**sampler_kwargs)
self._close_pool()
if self.pbar is not None:
self.pbar = self.pbar.close()
print("")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment