Skip to content

Commit

Permalink
FIX: fix data shape for scaler (SRX)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmgav committed Oct 17, 2024
1 parent 02e79d8 commit 7fb97ab
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pyxrf/model/load_data_from_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 7fb97ab

Please sign in to comment.