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
julia> g = loadgraph("mgtest1.mg", MGFormat())
┌ Warning: type SimpleGraphs.SimpleGraphs.SimpleEdge{Int64} does not exist in workspace; reconstructing
└ @ JLD2 ~/.julia/packages/JLD2/KjBIK/src/data.jl:1153
┌ Warning: type SimpleGraphs.SimpleGraphs.SimpleGraph{Int64} does not exist in workspace; reconstructing
└ @ JLD2 ~/.julia/packages/JLD2/KjBIK/src/data.jl:1153
ERROR: MethodError: Cannot `convert` an object of type getfield(JLD2.ReconstructedTypes, Symbol("##SimpleGraphs.SimpleGraphs.SimpleGraph{Int64}#400")) to an object of type SimpleGraph{Int64}
(This used to work a while ago; I can't point to when things broke.)
The savegraph code is simply
function savemg(fn::AbstractString, g::AbstractMetaGraph)
@save fn g
return 1
end
and the loadgraph code is
function loadmg(fn::AbstractString)
@load fn g
return g
end
The text was updated successfully, but these errors were encountered:
I get warnings and then an error:
(This used to work a while ago; I can't point to when things broke.)
The savegraph code is simply
and the loadgraph code is
The text was updated successfully, but these errors were encountered: