From 738260391961eff925e2be4d6d86893b88b818e8 Mon Sep 17 00:00:00 2001 From: ahmedk <karim.ahmed@xfel.eu> Date: Wed, 19 Jul 2023 13:31:07 +0200 Subject: [PATCH] fix remove module from mapped_files --- notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb index 3717cc4e9..15581138c 100644 --- a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb +++ b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb @@ -631,7 +631,8 @@ "\n", " if error_missing_constants - set(calibrations):\n", " warning(f\"Offset constant is not available to correct {da}.\")\n", - " mapped_files.remove(module_index_to_qm(mod))\n", + " # Remove module from files to process.\n", + " del mapped_files[module_index_to_qm(mod)]\n", " karabo_da.drop(da)\n", " modules.drop(mod)\n", "\n", -- GitLab