You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project with longer calculations and have created a macro to automatically save/calculate/reload object. I am using JLD2 for it and there is something similar in YAXArrays.jl.
Do you think it would be possible to create a more general version that can be integrated into FileIO.jl? And: would it make sense to integrate something like this into FileIO.jl?
Syntax is as follows:
@maybe x => "x.jld2" begin
x = 1
end
If x.jld2 exists, it is loaded and the begin ... end part is skipped, if x.jld2 doesn't exist the expression is run and x is saved in x.jld2.
The text was updated successfully, but these errors were encountered:
I have a project with longer calculations and have created a macro to automatically save/calculate/reload object. I am using JLD2 for it and there is something similar in YAXArrays.jl.
Do you think it would be possible to create a more general version that can be integrated into FileIO.jl? And: would it make sense to integrate something like this into FileIO.jl?
Syntax is as follows:
If
x.jld2
exists, it is loaded and thebegin ... end
part is skipped, ifx.jld2
doesn't exist the expression is run andx
is saved inx.jld2
.The text was updated successfully, but these errors were encountered: