Skip to content

Commit 43b7c26

Browse files
committed
Issue with output_path
1 parent ff9ba82 commit 43b7c26

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ParticlesMC.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ ParticlesMC implemented in Comonicon.
8888
burn = get(sim, "burn", 0)
8989
seed = sim["seed"]
9090
parallel = sim["parallel"]
91-
output_path = sim["output_path"]
91+
output_path = get(sim, "output_path", "./")
9292

9393
# Setup RNG and basic variables
9494

@@ -187,7 +187,7 @@ ParticlesMC implemented in Comonicon.
187187
push!(algorithm_list, algorithm)
188188
end
189189
M=1
190-
path = joinpath(output_path, "N$(chains[1].N)/T$(chains[1].temperature)/M$M")
190+
path = joinpath(output_path)
191191
simulation = Simulation(chains, algorithm_list, steps; path=path, verbose=true)
192192

193193
# Run the simulation

0 commit comments

Comments
 (0)