rnaglib.utils.load_graph¶
- rnaglib.utils.load_graph(filename, multigraph=False)[source]¶
This is a utility function that supports loading from json or pickle. Sometimes, the pickle also contains rings in the form of a node dict, in which case the rings are added into the graph
- Parameters:
filename – json or pickle filename
- Returns:
networkx DiGraph object