Skip to content

Commit

Permalink
Hotfix 2: Julia General Registry (#11)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
ykharkov authored Mar 5, 2024
1 parent e203e0e commit cd3c0d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ahs_program.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cd3c0d7

Please sign in to comment.