mirror of
https://github.com/ANL-CEEESA/UnitCommitment.jl.git
synced 2025-12-07 08:48:51 -06:00
Allow v0.3 to read v0.2 instance files
This commit is contained in:
@@ -80,6 +80,7 @@ function _read_json(path::String)::OrderedDict
|
||||
end
|
||||
|
||||
function _from_json(json; repair = true)
|
||||
_migrate(json)
|
||||
units = Unit[]
|
||||
buses = Bus[]
|
||||
contingencies = Contingency[]
|
||||
|
||||
Reference in New Issue
Block a user