From d443f43b0ae8f48919ae6e95d19d5be1d4964f09 Mon Sep 17 00:00:00 2001 From: Luc Papeleux <L.Papeleux@ULiege.be> Date: Wed, 26 Feb 2025 10:46:19 +0100 Subject: [PATCH] remove debug outputs --- launch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/launch.py b/launch.py index d063681..173f937 100755 --- a/launch.py +++ b/launch.py @@ -340,7 +340,7 @@ class LaunchJob(ParametricJob): # filling command to battery pin.write(b'import sys, os, os.path\n') - if 1 : #self.debug: + if self.debug: pin.write(b'print ("sys.path = ", sys.path)\n') pin.write(b'print ("os.getcwd() = ", os.getcwd())\n') pin.write(('if os.path.isdir(r"%s"):\n'%mtfdir).encode('utf-8')) @@ -348,7 +348,7 @@ class LaunchJob(ParametricJob): pin.write(b'else:\n') pin.write(('\tprint ("metafor dir %s not found!")\n'%mtfdir).encode('utf-8')) pin.write(b'\tsys.exit()\n\n') - print(('__file__ = r"%s"\n'%os.path.join(mtfdir,'.pythonrc.py')).encode('utf-8')) + #print(('__file__ = r"%s"\n'%os.path.join(mtfdir,'.pythonrc.py')).encode('utf-8')) pin.write(('__file__ = r"%s"\n'%os.path.join(mtfdir,'.pythonrc.py')).encode('utf-8')) pin.write(('exec(open(r"%s").read())\n'%os.path.join(mtfdir,'.pythonrc.py')).encode('utf-8')) pin.write(b'import toolbox.battery as b\n') -- GitLab