From feae7f60c87eb3a917af2deca7ab7821152c4448 Mon Sep 17 00:00:00 2001 From: Karim Ahmed <karim.ahmed@xfel.eu> Date: Wed, 5 Apr 2023 15:58:10 +0200 Subject: [PATCH] Fix duplicated variable name --- notebooks/LPDMini/LPD_Mini_Char_Darks_NBC.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/LPDMini/LPD_Mini_Char_Darks_NBC.ipynb b/notebooks/LPDMini/LPD_Mini_Char_Darks_NBC.ipynb index 9fe63608e..894451c8c 100644 --- a/notebooks/LPDMini/LPD_Mini_Char_Darks_NBC.ipynb +++ b/notebooks/LPDMini/LPD_Mini_Char_Darks_NBC.ipynb @@ -1078,7 +1078,7 @@ " l_data.append(np.count_nonzero(badpix_consts[mod_num][:,:,:,gain] & bit.value))\n", "\n", " if old_const[mod_num]['BadPixelsDark'] is not None:\n", - " old_const[mod_num]['BadPixelsDark'] = old_const[mod_nummod_num]['BadPixelsDark'].astype(np.uint32)\n", + " old_const[mod_num]['BadPixelsDark'] = old_const[mod_num]['BadPixelsDark'].astype(np.uint32)\n", " dataold = np.copy(old_const[mod_num]['BadPixelsDark'][:, :, :, gain])\n", " l_data_old.append(len(dataold[dataold>0].flatten()))\n", " for bit in bits:\n", -- GitLab