From 5d4910ae16ad7346ac0b7ed7d54c209abba60dce Mon Sep 17 00:00:00 2001 From: Daniel Thom Date: Wed, 14 Feb 2024 16:50:23 -0700 Subject: [PATCH] Fix reading of 2d time series data in test code This function, which is only used in tests, was not handling time series data with multiple dimensions. --- src/hdf5_time_series_storage.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hdf5_time_series_storage.jl b/src/hdf5_time_series_storage.jl index 885cb4cc8..4e9a94649 100644 --- a/src/hdf5_time_series_storage.jl +++ b/src/hdf5_time_series_storage.jl @@ -354,7 +354,7 @@ function iterate_time_series(storage::Hdf5TimeSeriesStorage) HDF5.h5open(storage.file_path, "r") do file root = _get_root(storage, file) for uuid_group in root - data = uuid_group["data"][:] + data = HDF5.read(uuid_group["data"]) attributes = Dict() for name in keys(HDF5.attributes(uuid_group)) attributes[name] = HDF5.read(HDF5.attributes(uuid_group)[name])