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

Further tweaks

parent b0b2a4e5
No related branches found
No related tags found
1 merge request!602Update the print function to use tqdm and add more information
Pipeline #81802 passed
......@@ -186,7 +186,7 @@ class Dynesty(NestedSampler):
loglstar = -np.inf
if self.use_ratio:
key = 'logz ratio'
key = 'logz-ratio'
else:
key = 'logz'
......@@ -196,7 +196,7 @@ class Dynesty(NestedSampler):
string.append("ncall:{:d}".format(ncall))
string.append("eff:{:0.1f}%".format(eff))
string.append("{}={:0.2f}+/-{:0.2f}".format(key, logz, logzerr))
string.append("dlogz:{:0.3f} > {:0.3f}".format(delta_logz, dlogz))
string.append("dlogz:{:0.3f}>{:0.2f}".format(delta_logz, dlogz))
self.pbar.set_postfix_str(" ".join(string), refresh=False)
self.pbar.update(niter - self.pbar.n)
......
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