Compare commits

...

2 Commits

Author SHA1 Message Date
5273e0cf46 do not send Nones 2025-11-04 10:37:12 +01:00
e514061173 added type 2025-11-04 10:34:17 +01:00
2 changed files with 4 additions and 1 deletions

View File

@@ -15,7 +15,8 @@ ENTRIES_TO_SKIP = [
"htype",
"pedestal_file",
"pulse_id",
"timestamp"
"timestamp",
"type"
]

View File

@@ -22,6 +22,8 @@ def pack_bsread_data(orig, prefix, skip=None):
elif isinstance(v, list):
# bsread fails for empty lists and non-1D lists
v = list_to_array(v)
if v is None:
continue
data[f"{prefix}:{k}"] = v
return data