Skip to content

Commit 5a1edad

Browse files
committed
Get code aster adapter path from environment variable
1 parent 7f94476 commit 5a1edad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adapter.comm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ DEBUT(PAR_LOT='NON');
22

33
from subprocess import call
44
import sys
5-
sys.path.insert(0, "/home/lcheung/Thesis/CHT-preCICE/solvers/Code_Aster")
5+
adapter_root = os.getenv('ASTER_ADAPTER_ROOT')
6+
sys.path.insert(0, adapter_root)
67
from adapter import *
78

89
# Get participant name from environment variable

0 commit comments

Comments
 (0)