X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=agtree2dot.git;a=blobdiff_plain;f=mlp.py;h=21a772c6331312abde4759db4d3250d6f474b36b;hp=3c5f026bfa2c8a760b10af1d0e0fb857a2db1dff;hb=21558202134d649b29fb700481b15963e71b1d1f;hpb=d9e6125c82f4e3775b8c868751b1657a6a147f55 diff --git a/mlp.py b/mlp.py index 3c5f026..21a772c 100755 --- a/mlp.py +++ b/mlp.py @@ -61,7 +61,7 @@ agtree2dot.save_dot(loss, print('Generated mlp.dot') try: - subprocess.check_call(["dot", "mlp.dot", "-Lg", "-T", "pdf", "-o", "mlp.pdf" ]) + subprocess.check_call(['dot', 'mlp.dot', '-Lg', '-T', 'pdf', '-o', 'mlp.pdf' ]) except subprocess.CalledProcessError: print('Calling the dot command failed. Is Graphviz installed?') sys.exit(1)