Commit 9286ee61 authored by Chris Jewell's avatar Chris Jewell
Browse files

Fix `thin_posterior` for HDF5 v 3.1.0

parent 13cb5068
......@@ -6,7 +6,7 @@ import pickle as pkl
def thin_posterior(input_file, output_file, config):
thin_idx = range(config['start'], config['end'], config['by'])
thin_idx = slice(config["start"], config["end"], config["by"])
f = h5py.File(input_file, "r", rdcc_nbytes=1024 ** 3, rdcc_nslots=1e6)
output_dict = dict(
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment