Commit afde150b authored by Chris Jewell's avatar Chris Jewell
Browse files

Save config into HDF5 file as a lazy way to keep everything together.

parent 5d267412
......@@ -251,9 +251,7 @@ if __name__ == "__main__":
# Ideally we insert the inference period into the posterior file
# as this allows us to post-attribute it to the data. Maybe better
# to simply save the data into it as well.
"inference_period", data=[b"2020-06-16", b"2020-09-08"]
).attrs["description"] = "inference period [start, end)"
posterior.create_dataset("config", data=yaml.dump(config))
theta_samples = posterior.create_dataset(
[NUM_SAVED_SAMPLES, current_state[0].shape[0]],
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