X-Git-Url: https://code.communitydata.science/ml_measurement_error_public.git/blobdiff_plain/003733f22f42b435315803fd5f47d483c712d72d..c45ea9dfebca86dfddc1e9237aa74866c5166519:/simulations/grid_sweep.py diff --git a/simulations/grid_sweep.py b/simulations/grid_sweep.py index 86312ea..b428729 100755 --- a/simulations/grid_sweep.py +++ b/simulations/grid_sweep.py @@ -2,8 +2,14 @@ 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'): + print(remember_file) + remember = pyRemembeR.remember.Remember() + remember.set_file(remember_file) + remember[outfile] = arg_dict + remember.save_to_r() keys = [] values = []