There is no default value for the key save_rolls in the function run_obs in pyklippipeline.py. If the value is not explicitly set, this causes the code to crash at line 572:
del kwargs_temp_temp['save_rolls']
since the key does not exist and cannot be deleted.
I believe the fix is to add a default value in the # Check Input section, line 516:
if 'save_rolls' not in kwargs_temp.keys():
kwargs_temp['save_ints'] = False
should be
if 'save_rolls' not in kwargs_temp.keys():
kwargs_temp['save_ints'] = False
kwargs_temp['save_rolls'] = False
There is no default value for the key
save_rolls
in the functionrun_obs
inpyklippipeline.py
. If the value is not explicitly set, this causes the code to crash at line 572:del kwargs_temp_temp['save_rolls']
since the key does not exist and cannot be deleted.
I believe the fix is to add a default value in the
# Check Input
section, line 516:should be
I can submit a PR with this change if you agree