Commit 0ecd3626 authored by snuverink_j's avatar snuverink_j
Browse files

fix running with OPAL_EXE_PATH in no batch mode

parent 4ac87a0f
......@@ -100,7 +100,10 @@ class Simulation:
file.write(filedata)
if os.environ.get('OPAL_EXE_PATH'):
opalexe = '$OPAL_EXE_PATH/opal'
if doNobatch:
opalexe = os.environ.get('OPAL_EXE_PATH') + '/opal'
else:
opalexe = '$OPAL_EXE_PATH/opal'
else:
opalexe = 'opal'
if quiet == False:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment