From e08aaf2bf9f3afd44183c2dc13d5afa3f558e3d3 Mon Sep 17 00:00:00 2001 From: Yaroslav Kharkov Date: Mon, 4 Mar 2024 13:52:14 -0500 Subject: [PATCH] Update the example path: use @__DIR__ --- src/mps_runner.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mps_runner.jl b/src/mps_runner.jl index b27c4b2..628950c 100644 --- a/src/mps_runner.jl +++ b/src/mps_runner.jl @@ -13,13 +13,14 @@ using JSON include("mps_utils.jl") include("plotter.jl") + function parse_commandline() s = ArgParseSettings() @add_arg_table! s begin "--program-path" help = "the path to the AHS program JSON file" arg_type = String - default = joinpath("examples", "ahs_program.json") + default = joinpath(@__DIR__, "../examples", "ahs_program.json") "--interaction-radius" help = "the interaction radius in meters" arg_type = Float64