findcurve_subproc.stdin.flush()
hc.func = symbolic.get_python()
+ commentary = ''
while True:
l = findcurve_subproc.stdout.readline()
l = l.rstrip()
#dbg('GOT ', l)
if not l: vdbg().crashing('findcurve EOF')
+ if not l.startswith('['):
+ commentary += ' '
+ commentary += l
+ continue
+
l = eval(l)
if not l: break
- dbg(('%s Q=[%10.7f %10.7f %10.7f] dQ=[%10.7f %10.7f %10.7f]')
+ dbg(('%s Q=[%10.7f %10.7f %10.7f] dQ=[%10.7f %10.7f %10.7f]%s')
%
- (( dbg_fmt_params(l[0:6]), ) + tuple(l[6:12]) ))
+ (( dbg_fmt_params(l[0:6]), ) + tuple(l[6:12]) + (commentary,) ))
+ commentary = ''
hc.findcurve_result = l[0:6]
hc.threshold = l[0]**2