comparison bin/curvecalc @ 789:ea8ca6502255

refactor to prepare for submasters to work out of the main graph Ignore-this: a5d4b63cf6b7daf52cce9bbfc3e0c5b3
author drewp@bigasterisk.com
date Mon, 18 Jun 2012 01:34:40 +0000
parents d3f6830f55a2
children 431ddd043b47
comparison
equal deleted inserted replaced
788:8d87a3528369 789:ea8ca6502255
32 from light9.curvecalc.subterm import read_all_subs, savekey, graphPathForSubterms 32 from light9.curvecalc.subterm import read_all_subs, savekey, graphPathForSubterms
33 from light9.curvecalc.subtermview import add_one_subterm 33 from light9.curvecalc.subtermview import add_one_subterm
34 from light9.curvecalc.output import Output 34 from light9.curvecalc.output import Output
35 from light9.gtkpyconsole import togglePyConsole 35 from light9.gtkpyconsole import togglePyConsole
36 36
37 @prof.logTime
37 def makeGraph(): 38 def makeGraph():
38 graphOrig = showconfig.getGraph() 39 graphOrig = showconfig.getGraph()
39 graph = Graph() # a copy, since we're going to add subs into it 40 graph = Graph() # a copy, since we're going to add subs into it
40 for s in graphOrig: 41 for s in graphOrig:
41 graph.add(s) 42 graph.add(s)
372 server.Site(Hover())) 373 server.Site(Hover()))
373 374
374 375
375 prof.run(reactor.run, profile=False) 376 prof.run(reactor.run, profile=False)
376 377
377 main() 378 prof.run(main, profile=False)
379