X-Git-Url: https://code.communitydata.science/ml_measurement_error_public.git/blobdiff_plain/003733f22f42b435315803fd5f47d483c712d72d..d0c5766bdf867a81a2477d2cac1d40812110af90:/simulations/grid_sweep.py?ds=inline 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 = []