From cd3c0d7778ad89cc8856cf1c4b2e7393d069f2e3 Mon Sep 17 00:00:00 2001 From: ykharkov <112575584+ykharkov@users.noreply.github.com> Date: Tue, 5 Mar 2024 14:00:45 -0500 Subject: [PATCH] Hotfix 2: Julia General Registry (#11) * Update the example path: use @__DIR__ * Add [compat] section to Project.toml * Update [compat] section * Update [compat] section, remove Compat pkg * Update [compat] section * Update [compat] section * Update [compat] section * Update [compat], ArgParse * Remove JSON from deps, relpace by JSON3 * Update Markdown version * Remove using JSON * Update path in ahs_program.jl * Remove JSON from runtests.jl * Fix JSON3 saving * Update ITensors version * Update dependencies * Update the example path * Fix example path in ahs_program.jl --- src/ahs_program.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ahs_program.jl b/src/ahs_program.jl index 8da449f..32b5829 100644 --- a/src/ahs_program.jl +++ b/src/ahs_program.jl @@ -69,7 +69,8 @@ json_str = JSON3.write(ir(ahs_program)) json_obj = JSON3.read(json_str) # Define the file path -file_path = joinpath(@__DIR__, "../examples", "ahs_program.json") + +file_path = joinpath(dirname(@__DIR__), "examples", "ahs_program.json") # Write the JSON object to a file open(file_path, "w") do file