How can I save and load a MetaGraph object from LightGraphs, and MetaGraphs, so that if I load the metagraph I still have the metadata?
Right now I have a metagraph mg
that I save using:
LightGraphs.savegraph("net.lg", mg)
But trying to reload it :
reloaded = LightGraphs.loadgraph("net.lg")
gives me the following:
BoundsError: attempt to access 2-element Array{SubString{String},1} at index [3]
Is there anyway to read in the metagraphs in the MetaGaphs package?