Skip to content

Commit

Permalink
Update the example path: use @__DIR__
Browse files Browse the repository at this point in the history
  • Loading branch information
ykharkov committed Mar 4, 2024
1 parent 5ab11d0 commit e08aaf2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mps_runner.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e08aaf2

Please sign in to comment.