Skip to content

Commit

Permalink
Update to StochOptFormat v1.0 (#705)
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Oct 28, 2023
1 parent cb89e07 commit a732cbc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Experimental.jl
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function Base.write(
_add_node_to_dict(node, node_name, nodes, subproblems, scenario_map)
end
sof = Dict{String,Any}(
"version" => Dict("major" => 0, "minor" => 3),
"version" => Dict("major" => 1, "minor" => 0),
"root" => Dict{String,Any}(
"name" => "$(model.root_node)",
"state_variables" => Dict{String,Any}(
Expand Down
2 changes: 1 addition & 1 deletion test/Experimental.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import JSON
import JSONSchema

Downloads.download(
"https://odow.github.io/StochOptFormat/versions/sof-0.3.schema.json",
"https://odow.github.io/StochOptFormat/schemas/sof-1.schema.json",
"sof.schema.json",
)
const SCHEMA =
Expand Down
4 changes: 2 additions & 2 deletions test/electric.sof.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"author": "Oscar Dowson",
"name": "electric.sof.jsonn",
"version": {"major": 0, "minor": 3},
"name": "electric.sof.json",
"version": {"major": 1, "minor": 0},
"root": {
"state_variables": {
"1": 0.0,
Expand Down

0 comments on commit a732cbc

Please sign in to comment.