X-Git-Url: https://code.communitydata.science/ml_measurement_error_public.git/blobdiff_plain/003733f22f42b435315803fd5f47d483c712d72d..5c931a7198452ff3ce0ace5b1f68046bfb33d352:/simulations/grid_sweep.py diff --git a/simulations/grid_sweep.py b/simulations/grid_sweep.py index 86312ea..7db920d 100755 --- a/simulations/grid_sweep.py +++ b/simulations/grid_sweep.py @@ -2,8 +2,13 @@ import fire from itertools import product +import pyRemembeR -def main(command, arg_dict, outfile): +def main(command, arg_dict, outfile, remember_file='remember_grid_sweep.RDS'): + remember = pyRemembeR.remember.Remember() + remember.set_file(remember_file) + remember[outfile] = arg_dict + remember.save_to_r() keys = [] values = []