From: Ian Jackson Date: Wed, 29 Nov 2017 23:19:00 +0000 (+0000) Subject: findcurve output: Use >> and << for debug X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=09aca46cd4711b2bf5941dd1022f81670cdb1b2e;p=moebius3.git findcurve output: Use >> and << for debug Signed-off-by: Ian Jackson --- 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 += ' '