Skip to content

Commit

Permalink
Fix reading of 2d time series data in test code
Browse files Browse the repository at this point in the history
This function, which is only used in tests, was not handling time series
data with multiple dimensions.
  • Loading branch information
daniel-thom committed Feb 14, 2024
1 parent 11d6415 commit 5d4910a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hdf5_time_series_storage.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 5d4910a

Please sign in to comment.