Jsonify results
Compare changes
Maintenance will be performed on git.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 1 April 2025 starting at approximately 9am PDT. It is expected to take around 30 minutes and there will be several periods of downtime throughout the maintenance. Please address any comments, concerns, or questions to the helpdesk.
Following the discussion in #301 (closed), I've implemented default saving for the results object as a json file. The only functions I've changed are read_in_result
, save_to_file
, and the filename
function. I have included a flag that if save='hdf5'
in the arguments of run_sampler
, the results will be saved in the standard hdf5 format.