From 09aca46cd4711b2bf5941dd1022f81670cdb1b2e Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 29 Nov 2017 23:19:00 +0000 Subject: [PATCH] findcurve output: Use >> and << for debug Signed-off-by: Ian Jackson --- helixish.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/helixish.py b/helixish.py index 72393b6..4411a35 100644 --- a/helixish.py +++ b/helixish.py @@ -182,6 +182,8 @@ class HelixishCurve(): % (( fcp[0]**2, fcp[1]**2 ) + tuple(fcp))) + #dbg('>> ' + ' '.join(map(str,findcurve_input))) + dbg(('RUNNING FINDCURVE' + ' ' + ' target Q=[%10.7f %10.7f %10.7f] dQ=[%10.7f %10.7f %10.7f]') @@ -198,7 +200,7 @@ class HelixishCurve(): while True: l = findcurve_subproc.stdout.readline() l = l.rstrip() - #dbg('GOT ', l) + dbg('<< ', l) if not l: vdbg().crashing('findcurve EOF') if not l.startswith('['): commentary += ' ' -- 2.30.2