Skip to content
Snippets Groups Projects
Commit 3affb71b authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Merge branch 'fix_ultranest_wrapped_params' into 'master'

Fix wrapped parameters in ultranest

See merge request lscsoft/bilby!793
parents f9f6c3a3 7ce53dfe
No related branches found
No related tags found
No related merge requests found
......@@ -123,10 +123,11 @@ class Ultranest(NestedSampler):
):
self.kwargs["wrapped_params"] = []
for param, value in self.priors.items():
if value.boundary == "periodic":
self.kwargs["wrapped_params"].append(1)
else:
self.kwargs["wrapped_params"].append(0)
if param in self.search_parameter_keys:
if value.boundary == "periodic":
self.kwargs["wrapped_params"].append(1)
else:
self.kwargs["wrapped_params"].append(0)
@property
def outputfiles_basename(self):
......
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