From 36936cf3886be9ad7ee54d643d590b9ad2aed498 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Wed, 11 Dec 2024 14:17:56 +0100 Subject: [PATCH 1/2] Sort detector list for DCS --- workflows/readout-dataflow.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflows/readout-dataflow.yaml b/workflows/readout-dataflow.yaml index cae183fb8..273eb0864 100755 --- a/workflows/readout-dataflow.yaml +++ b/workflows/readout-dataflow.yaml @@ -1901,7 +1901,7 @@ roles: ############################### # DCS Panel ############################### - dcs_detectors: "{{ detectors }}" + dcs_detectors: "{{ json.Marshal(json.Sort(json.Unmarshal(detectors))) }}" dcs_sor_parameters: !public value: "{}" type: string From 9d1aeac2cd2fdbb87e922eadaed05562a4ca6710 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Wed, 11 Dec 2024 14:47:11 +0100 Subject: [PATCH 2/2] Sort detector list for TRG --- workflows/readout-dataflow.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflows/readout-dataflow.yaml b/workflows/readout-dataflow.yaml index 273eb0864..a5b18c43f 100755 --- a/workflows/readout-dataflow.yaml +++ b/workflows/readout-dataflow.yaml @@ -2047,7 +2047,7 @@ roles: - name: trg enabled: "{{trg_enabled == 'true'}}" defaults: - trg_detectors: "{{ detectors }}" + trg_detectors: "{{ json.Marshal(json.Sort(json.Unmarshal(detectors))) }}" trg_runtime_config: "{{ runtime.Get('trg/ltu', trg_runtime_config_file) }}" trg_global_config: "{{ runtime.Get('trg/ctp', trg_load_parameters) }}" roles: