From 5e4e3c73ac26a7b232e2cf6de87474db3e3c71c2 Mon Sep 17 00:00:00 2001 From: Eric Teunis de Boone Date: Thu, 24 Nov 2022 14:55:30 +0100 Subject: [PATCH] ZH: time_diffs read with beacon names as string --- simulations/airshower_beacon_simulation/aa_generate_beacon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simulations/airshower_beacon_simulation/aa_generate_beacon.py b/simulations/airshower_beacon_simulation/aa_generate_beacon.py index 7d1b7cb..0366b9e 100755 --- a/simulations/airshower_beacon_simulation/aa_generate_beacon.py +++ b/simulations/airshower_beacon_simulation/aa_generate_beacon.py @@ -164,7 +164,7 @@ def read_baseline_time_diffs_hdf5(fname): group = fp[group_name] - names = group[base_dset_name][:] + names = group[base_dset_name][:].astype(str) dset = group[dset_name] time_diffs = dset[:,0]