From 7fb97ab72020f0cc04a2d200f136d7ce0aad7832 Mon Sep 17 00:00:00 2001 From: Dmitri Gavrilov Date: Thu, 17 Oct 2024 14:00:18 -0400 Subject: [PATCH] FIX: fix data shape for scaler (SRX) --- pyxrf/model/load_data_from_db.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pyxrf/model/load_data_from_db.py b/pyxrf/model/load_data_from_db.py index 9531e9a7..f630d234 100644 --- a/pyxrf/model/load_data_from_db.py +++ b/pyxrf/model/load_data_from_db.py @@ -2354,9 +2354,7 @@ def map_data2D_srx_new_tiled( for k in sclr_list: if k in data_stream0: if k not in sclr_dict: - sclr_dict[k] = [data_stream0[k]] - else: - sclr_dict[k].append(data_stream0[k]) + sclr_dict[k] = data_stream0[k] if fast_key != "fast_gen": fast_pos = data_stream0[fast_key]