Example #1
0
def loadGraph(fname):
  #sys.stdout.write ('Parsing {0}. '.format(fname))
  #sys.stdout.flush()
  (g, ga, res) = node_parse_cc_graph.parseCCEdgeFile(fname)
  #print 'Done loading graph.',

  return (g, ga, res)
Example #2
0
def loadGraph(fname):
  if printParsingStatus:
    sys.stdout.write('Parsing {0}. '.format(fname))
    sys.stdout.flush()
  (g, ga, res) = node_parse_cc_graph.parseCCEdgeFile(fname)
  if printParsingStatus:
    sys.stdout.write('Done loading graph.\n')

  return (g, ga, res)