From 29a93d6836f4bb1519066de5edc1c4157b376e76 Mon Sep 17 00:00:00 2001
From: Luc Papeleux <L.Papeleux@ULiege.be>
Date: Wed, 26 Feb 2025 10:48:58 +0100
Subject: [PATCH] add a comment

---
 launch.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/launch.py b/launch.py
index 173f937..2024a95 100755
--- a/launch.py
+++ b/launch.py
@@ -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'))
+        # __file__ has to be defined (with absPath) to execute .pythonc.py 
         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