Skip to content
Snippets Groups Projects
Commit 5d27eaff authored by Pierre Paleo's avatar Pierre Paleo
Browse files

Use dict.get() instead of dict.pop()

parent 3656e985
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ def estimate_cor(method, dataset_info, do_flatfield=True, cor_options=None, logg
dataset_info,
do_flatfield=do_flatfield,
cor_options=cor_options,
radio_angles=cor_options.pop("radio_angles", (0.0, np.pi)),
radio_angles=cor_options.get("radio_angles", (0.0, np.pi)),
logger=logger,
)
estimated_cor = cor_finder.find_cor()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment