Skip to content

Commit

Permalink
Merge branch 'cb/increment_partitioned_sim_dirs' of github.com:NREL-S…
Browse files Browse the repository at this point in the history
…IIP/PowerSimulations.jl into cb/increment_partitioned_sim_dirs
  • Loading branch information
claytonpbarrows committed Aug 15, 2023
2 parents 2896cea + b6b2255 commit 058213f
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 058213f

Please sign in to comment.