diff --git a/notebooks/AGIPD/AGIPD_Retrieve_Constants_Precorrection.ipynb b/notebooks/AGIPD/AGIPD_Retrieve_Constants_Precorrection.ipynb index 2cd11eb0b59cbb97f5c72c5e2ac9670e5573b95e..ffc6e2fa1e83bbe05d7e90541f57671752fcbdfa 100644 --- a/notebooks/AGIPD/AGIPD_Retrieve_Constants_Precorrection.ipynb +++ b/notebooks/AGIPD/AGIPD_Retrieve_Constants_Precorrection.ipynb @@ -247,7 +247,7 @@ " if local_mem_cells is None:\n", " raise ValueError(\n", " \"No raw images found for \"\n", - " f\"{tools.module_index_to_qm(module_index)}({karabo_da}) for all sequences\")\n", + " f\"{tools.module_index_to_qm(idx)}({karabo_da}) for all sequences\")\n", "\n", " if acq_rate == 0.:\n", " local_acq_rate = agipd_cond.get_acq_rate()\n", @@ -288,7 +288,7 @@ "\n", " if slopes_ff_from_files and const_name in [\"SlopesFF\", \"BadPixelsFF\"]:\n", " const_mdata[\"file-path\"] = (\n", - " f\"{slopes_ff_from_files}/slopesff_bpmask_module_{tools.module_index_to_qm(module_index)}.h5\") # noqa\n", + " f\"{slopes_ff_from_files}/slopesff_bpmask_module_{tools.module_index_to_qm(idx)}.h5\") # noqa\n", " const_mdata[\"creation-time\"] = \"00:00:00\"\n", " continue\n", " \n",