From f24eb38d28f181a30034122fec18e4b94b247946 Mon Sep 17 00:00:00 2001 From: Karim Ahmed <karim.ahmed@xfel.eu> Date: Wed, 2 Sep 2020 12:26:56 +0200 Subject: [PATCH] mr comment --- notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb b/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb index 61ffef34c..ca2c87b32 100644 --- a/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb +++ b/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb @@ -157,8 +157,7 @@ "print(f\"Processing a total of {total_sequences} sequence files\")\n", "table = []\n", "fi = 0\n", - "# avoid creating a table in case of 0 sequences\n", - "if total_sequences:\n", + "if total_sequences > 0: # create table\n", " for i, key in enumerate(mapped_files):\n", " for k, f in enumerate(list(mapped_files[key].queue)):\n", " if k == 0:\n", -- GitLab