diff --git a/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb b/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb index 61ffef34c44542fd7408006a6e96c0b6dfcdc2fb..ca2c87b3240b53b1f371421fbe2c26d430da8f35 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",