From ef78f34dddf6cbb76a2f73e35362333fb099a69e Mon Sep 17 00:00:00 2001 From: ahmedk <karim.ahmed@xfel.eu> Date: Wed, 3 Nov 2021 16:38:05 +0100 Subject: [PATCH] [AGIPD][CORRECT] if only offset chosen, there wont be xray_corr key --- notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb index 3e6b4d7f5..668f0c3cd 100644 --- a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb +++ b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb @@ -541,7 +541,7 @@ " return err, mod, when, k_da\n", "\n", "\n", - "print(f'Preparing constants (FF: {agipd_corr.corr_bools[\"xray_corr\"]}, PC: {any(agipd_corr.pc_bools)}, '\n", + "print(f'Preparing constants (FF: {agipd_corr.corr_bools.get(\"xray_corr\", False)}, PC: {any(agipd_corr.pc_bools)}, '\n", " f'BLC: {any(agipd_corr.blc_bools)})')\n", "ts = perf_counter()\n", "with multiprocessing.Pool(processes=len(modules)) as pool:\n", -- GitLab