From bb3af53b9233c1cd130afe99c9478195ba2986b4 Mon Sep 17 00:00:00 2001 From: Luc Papeleux <L.Papeleux@ULiege.be> Date: Tue, 4 Feb 2025 20:05:37 +0100 Subject: [PATCH] fix linux installed version in batch --- parametricJob.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parametricJob.py b/parametricJob.py index 609b0ee..ddd8435 100644 --- a/parametricJob.py +++ b/parametricJob.py @@ -155,7 +155,7 @@ class ParametricJob(PRMSet): sys.exit(1) def guessProfile(self): - for cfgfile in [os.path.join(os.path.split(__file__)[0], 'env.sh'), + for cfgfile in [os.path.join(os.path.split(__file__)[0],'..','env.sh'), os.path.expanduser('~/.profile'), os.path.expanduser('~/.bash_profile')]: if os.path.isfile(cfgfile): -- GitLab