diff --git a/.gitignore b/.gitignore index 29126e4..e4df879 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ # Files generated by invoking Julia with --code-coverage *.jl.cov *.jl.*.cov +.vscode/* # Files generated by invoking Julia with --track-allocation *.jl.mem diff --git a/Artifacts.toml b/Artifacts.toml index 67961b2..f857c87 100644 --- a/Artifacts.toml +++ b/Artifacts.toml @@ -1,6 +1,6 @@ [PGLib_opf] -git-tree-sha1 = "91f3110e356432d4e093502e8fa60d6dc97104d2" +git-tree-sha1 = "0e8968a89b6ad43910a8eda4ec30656add35cf91" [[PGLib_opf.download]] - sha256 = "9c53214a8b74d921a662235faeea234e3e2bfa7cf62619410e9ec52f4277c797" - url = "https://github.com/power-grid-lib/pglib-opf/archive/refs/tags/v21.07.tar.gz" + sha256 = "f1421ce22f0a7b9de8a8b2111776b496348220192ad24aace392c3bf608706c2" + url = "https://github.com/power-grid-lib/pglib-opf/archive/refs/tags/v23.07.tar.gz" diff --git a/Project.toml b/Project.toml index c5fe214..c6f7f41 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "PGLib" uuid = "07a8691f-3d11-4330-951b-3c50f98338be" authors = ["Noah Rhodes "] -version = "0.1.1" +version = "0.2.0" [deps] Artifacts = "56f22d72-fd6d-98f1-02f0-08ddc0907c33" diff --git a/src/PGLib.jl b/src/PGLib.jl index 163b3c2..dea6b5f 100644 --- a/src/PGLib.jl +++ b/src/PGLib.jl @@ -6,9 +6,9 @@ using Artifacts # include("data.jl") -const PGLib_opf = joinpath(artifact"PGLib_opf","pglib-opf-21.07") -const PGLib_opf_api = joinpath(artifact"PGLib_opf","pglib-opf-21.07","api") -const PGLib_opf_sad = joinpath(artifact"PGLib_opf","pglib-opf-21.07","sad") +const PGLib_opf = joinpath(artifact"PGLib_opf","pglib-opf-23.07") +const PGLib_opf_api = joinpath(artifact"PGLib_opf","pglib-opf-23.07","api") +const PGLib_opf_sad = joinpath(artifact"PGLib_opf","pglib-opf-23.07","sad") function pglib(fname::AbstractString, variant::AbstractString) if variant=="api" diff --git a/src/create_artifacts.jl b/src/create_artifacts.jl index a46c8ab..84ffcb6 100644 --- a/src/create_artifacts.jl +++ b/src/create_artifacts.jl @@ -5,6 +5,6 @@ using Artifacts, ArtifactUtils add_artifact!( "Artifacts.toml", "PGLib_opf", - "https://github.com/power-grid-lib/pglib-opf/archive/refs/tags/v21.07.tar.gz", + "https://github.com/power-grid-lib/pglib-opf/archive/refs/tags/v23.07.tar.gz", force=true, ) \ No newline at end of file diff --git a/test/runtests.jl b/test/runtests.jl index ea16029..7328fea 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -26,8 +26,8 @@ case_sad = parse_file(joinpath("./pglib_opf_case3_lmbd.m")) @test ["pglib_opf_case3_lmbd.m"] == find_pglib_case("lmbd") @test ["pglib_opf_case3_lmbd__api.m"] == find_pglib_case("lmbd","api") @test ["pglib_opf_case3_lmbd__sad.m"] == find_pglib_case("lmbd","sad") - @test length(find_pglib_case()) == 59 - @test length(find_pglib_case("","sad")) == 59 - @test length(find_pglib_case("","api")) == 59 + @test length(find_pglib_case()) == 66 + @test length(find_pglib_case("","sad")) == 66 + @test length(find_pglib_case("","api")) == 66 end end \ No newline at end of file