Skip to content

Commit

Permalink
pandas 2 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Apr 4, 2023
1 parent 306e3f8 commit 83ca209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cobaya/samplers/mcmc/mcmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ def write_checkpoint(self):
if not self.progress.empty:
with open(self.progress_filename(), "a",
encoding="utf-8") as progress_file:
fmts = {"N": "{:9d}".format}
fmts = {"N": "{:9f}".format}
progress_file.write(self.progress.tail(1).to_string(
header=False, index=False, formatters=fmts) + "\n")
self.log.debug("Dumped checkpoint and progress info, and current covmat.")
Expand Down

0 comments on commit 83ca209

Please sign in to comment.