From faaa117e02805d1e40f1e3aea68bb259d4cb2d27 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Mon, 9 Feb 2004 09:24:33 +0000 Subject: [PATCH] * wrap/python/cgi/ltl2tgba.in: Use render_dot when showing formula. * wrap/python/cgi/README: Mention unique_id. --- ChangeLog | 8 +++++++- wrap/python/cgi/README | 2 ++ wrap/python/cgi/ltl2tgba.in | 7 +------ 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index e34eb6625..92a9c6dc9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,10 @@ -2004-02-08 Alexandre Duret-Lutz +2004-02-09 Alexandre Duret-Lutz + + * wrap/python/cgi/ltl2tgba.in: Use render_dot when + showing formula. + * wrap/python/cgi/README: Mention unique_id. + +2004-02-08 Alexandre Duret-Lutz This should help getting accurate statistics (on both the formula automaton and the synchronized product) from LBTT. diff --git a/wrap/python/cgi/README b/wrap/python/cgi/README index c791e02cc..4a5772b8d 100644 --- a/wrap/python/cgi/README +++ b/wrap/python/cgi/README @@ -41,3 +41,5 @@ You have to install the script yourself if you want to test it. each time it runs. 4) `dot', from the GraphViz package, should be in the PATH. + +5) Apache should have its unique_id module loaded. diff --git a/wrap/python/cgi/ltl2tgba.in b/wrap/python/cgi/ltl2tgba.in index f1d4dc9e1..29d3c3a79 100644 --- a/wrap/python/cgi/ltl2tgba.in +++ b/wrap/python/cgi/ltl2tgba.in @@ -329,12 +329,7 @@ if show_formula_gif: outfile = spot.ofstream(imgprefix + '-f.dot') spot.dotty(outfile, f) del outfile - os.spawnlp(os.P_WAIT, 'dot', 'dot', '-Tgif', '-Gsize=14,14', '-o', - imgprefix + '-f.gif', imgprefix + '-f.dot') - os.spawnlp(os.P_WAIT, 'convert', 'convert', - imgprefix + '-f.gif', imgprefix + '-f.png') - print '' - + render_dot(imgprefix + '-f') print '

Automaton

'