Skip to content

Commit

Permalink
Merge pull request #160 from psrenergy/px/deprecate
Browse files Browse the repository at this point in the history
Recover `initialize_study` with deprecation notice
  • Loading branch information
guilhermebodin authored Aug 7, 2023
2 parents d40a097 + 92f73dd commit a990a4d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/OpenStudy/study_openinterface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,15 @@ function load_study(
return data
end

function initialize_study(args...; kws...)
@warn """
`initialize_study` is deprecated and will be removed in a future release.
Use `load_study` instead.
"""

return load_study(args...; kws...)
end

function load_json_struct!(::Data, ::Nothing) end

function load_json_struct!(data::Data, paths::Vector{String})
Expand Down

0 comments on commit a990a4d

Please sign in to comment.