We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fbe9ae commit b16c9d3Copy full SHA for b16c9d3
OMPython/ModelicaSystem.py
@@ -233,7 +233,7 @@ def run(self) -> int:
233
# set the process environment from the generated .bat file in windows which should have all the dependencies
234
path_bat = self._runpath / f"{self._modelname}.bat"
235
if not path_bat.exists():
236
- ModelicaSystemError("Batch file (*.bat) does not exist " + str(path_bat))
+ raise ModelicaSystemError("Batch file (*.bat) does not exist " + str(path_bat))
237
238
with open(path_bat, 'r') as file:
239
for line in file:
0 commit comments