Skip to content

Commit

Permalink
add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Sep 30, 2023
1 parent 194d72a commit 9a06de3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/simulation/hdf_simulation_store.jl
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ function initialize_problem_storage!(
group = _get_group_or_create(emulation_group, string(type))
for (key, reqs) in getfield(em_problem_reqs, type)
name = encode_key_as_string(key)
@error name
dataset = _create_dataset(group, name, reqs)
# Columns can't be stored in attributes because they might be larger than
# the max size of 64 KiB.
Expand Down Expand Up @@ -699,6 +700,7 @@ function _compute_chunk_count(dims, dtype; max_chunk_bytes = DEFAULT_MAX_CHUNK_B
end

function _create_dataset(group, name, reqs)
@error reqs["dims"]
dataset = HDF5.create_dataset(
group,
name,
Expand Down

0 comments on commit 9a06de3

Please sign in to comment.