Mercurial > code > home > repos > light9
comparison bin/curvecalc @ 894:836ea837cae9
curvecalc just barely running its subexprs and outputting levels
Ignore-this: 76cbc3bf4174e6620058945cfa229dce
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Sun, 09 Jun 2013 01:02:13 +0000 |
parents | 1b19038f42e2 |
children | fc651955d6d9 |
comparison
equal
deleted
inserted
replaced
893:1b19038f42e2 | 894:836ea837cae9 |
---|---|
195 | 195 |
196 song = self.graph.value(self.session, L9['currentSong']) | 196 song = self.graph.value(self.session, L9['currentSong']) |
197 | 197 |
198 for st in set(self.graph.objects(song, L9['subterm'])): | 198 for st in set(self.graph.objects(song, L9['subterm'])): |
199 log.info("song %s has subterm %s", song, st) | 199 log.info("song %s has subterm %s", song, st) |
200 term = Subterm(self.graph, st, self.songSubtermsContext()) | 200 term = Subterm(self.graph, st, self.songSubtermsContext(), self.curveset) |
201 add_one_subterm(term, self.curveset, master) | 201 add_one_subterm(term, self.curveset, master) |
202 | 202 |
203 master.show_all() | 203 master.show_all() |
204 log.info("%s table children showing" % len(master.get_children())) | 204 log.info("%s table children showing" % len(master.get_children())) |
205 | 205 |
366 showconfig.songFilenameFromURI(song)), | 366 showconfig.songFilenameFromURI(song)), |
367 skipMusic=opts.skip_music) | 367 skipMusic=opts.skip_music) |
368 graph.addHandler(curvesetReload) | 368 graph.addHandler(curvesetReload) |
369 | 369 |
370 log.debug("startup: output %s", time.time() - startTime) | 370 log.debug("startup: output %s", time.time() - startTime) |
371 out = Output(music) | 371 out = Output(graph, session, music, curveset) |
372 | 372 |
373 mt = MaxTime(graph, session) | 373 mt = MaxTime(graph, session) |
374 dispatcher.connect(lambda: mt.get(), "get max time", weak=False) | 374 dispatcher.connect(lambda: mt.get(), "get max time", weak=False) |
375 | 375 |
376 start = Main(graph, opts, session, curveset, music) | 376 start = Main(graph, opts, session, curveset, music) |