From 530f93bc95ce61e543b2712b0e46c906fdd649f1 Mon Sep 17 00:00:00 2001 From: ahmedk <karim.ahmed@xfel.eu> Date: Wed, 24 Jul 2024 10:13:09 +0200 Subject: [PATCH] fix(GH2): remove the unneeded sort for receiver names. --- notebooks/Gotthard2/Correction_Gotthard2_NBC.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/Gotthard2/Correction_Gotthard2_NBC.ipynb b/notebooks/Gotthard2/Correction_Gotthard2_NBC.ipynb index b7424cb07..38a5d0ed4 100644 --- a/notebooks/Gotthard2/Correction_Gotthard2_NBC.ipynb +++ b/notebooks/Gotthard2/Correction_Gotthard2_NBC.ipynb @@ -242,7 +242,7 @@ "\n", "# Create the correction receiver name.\n", "receiver_names = [f\"*{receiver_template.format(x)}*\" for x in receiver_affixes]\n", - "data_sources = sorted(list(run_dc.select(receiver_names).all_sources))\n", + "data_sources = list(run_dc.select(receiver_names).all_sources)\n", "\n", "if not corr_receiver:\n", " # This part assumes this data_source structure: '{karabo_id}/DET/{receiver_name}:{output_channel}'\n", -- GitLab