Skip to content

Commit

Permalink
Update src/simulation/simulation_partition_results.jl
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
claytonpbarrows and github-actions[bot] authored Aug 15, 2023
1 parent 190f5c4 commit b6b2255
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/simulation/simulation_partition_results.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ struct SimulationPartitionResults
datasets::Dict{String, HDF5.Dataset}
end

function SimulationPartitionResults(path::AbstractString, simulation_name::String = basename(path))
function SimulationPartitionResults(
path::AbstractString,
simulation_name::String = basename(path),
)
config_file = joinpath(path, "simulation_partitions", "config.json")
config = open(config_file, "r") do io
JSON3.read(io, Dict)
Expand Down

0 comments on commit b6b2255

Please sign in to comment.