From efd9aef5f6676920709b4fa74297c92a7a9720fc Mon Sep 17 00:00:00 2001 From: Neil Vaytet Date: Thu, 12 Feb 2026 14:04:49 +0100 Subject: [PATCH] older versions of scipp require a list and do not work with a set --- src/ess/reduce/time_of_flight/workflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ess/reduce/time_of_flight/workflow.py b/src/ess/reduce/time_of_flight/workflow.py index f02d6bf0..8c363bf8 100644 --- a/src/ess/reduce/time_of_flight/workflow.py +++ b/src/ess/reduce/time_of_flight/workflow.py @@ -30,7 +30,7 @@ def load_tof_lookup_table(filename: TofLookupTableFilename) -> TofLookupTable: "error_threshold", } & set(table.coords) table = { - "array": table.drop_coords(to_be_dropped), + "array": table.drop_coords(list(to_be_dropped)), "pulse_period": table.coords["pulse_period"], "pulse_stride": table.coords["pulse_stride"].value, "distance_resolution": table.coords["distance_resolution"],