From 1c7ccde2814513e72b3e4f19c3e5d06ec22fdeea Mon Sep 17 00:00:00 2001 From: ahmedk <karim.ahmed@xfel.eu> Date: Tue, 9 Jan 2024 17:51:38 +0100 Subject: [PATCH] make sure receivers are sorted the same as das for 25um --- notebooks/Gotthard2/Characterize_Darks_Gotthard2_NBC.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/Gotthard2/Characterize_Darks_Gotthard2_NBC.ipynb b/notebooks/Gotthard2/Characterize_Darks_Gotthard2_NBC.ipynb index 74bc37e13..fda112e5d 100644 --- a/notebooks/Gotthard2/Characterize_Darks_Gotthard2_NBC.ipynb +++ b/notebooks/Gotthard2/Characterize_Darks_Gotthard2_NBC.ipynb @@ -128,7 +128,7 @@ "run_dc = RunDirectory(in_folder / f\"r{run_high:04d}\")\n", "file_loc = f\"proposal:{run_dc.run_metadata()['proposalNumber']} runs:{run_high} {run_med} {run_low}\" # noqa\n", "\n", - "receivers = list(run_dc.select(f'{karabo_id}/DET/{receiver_template}*').all_sources)" + "receivers = sorted(list(run_dc.select(f'{karabo_id}/DET/{receiver_template}*').all_sources))" ] }, { -- GitLab