Skip to content

Commit

Permalink
remove @error
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Oct 2, 2023
1 parent 723ee76 commit 761bad1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/simulation/hdf_simulation_store.jl
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ function initialize_problem_storage!(
for (key, reqs) in getfield(dm_problem_reqs[problem], type)
!should_write_resulting_value(key) && continue
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 @@ -700,7 +699,6 @@ 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 Expand Up @@ -1055,6 +1053,7 @@ function _write_dataset!(
array::Array{Float64, 4},
row_range::UnitRange{Int64},
)
@show
dataset[:, :, :, row_range] = array
@debug "wrote dataset" dataset row_range
return
Expand Down

0 comments on commit 761bad1

Please sign in to comment.