Skip to content

Commit b8bf428

Browse files
committed
[ModelicaSystemDoE] fix missing usage of _getconn
1 parent 7038805 commit b8bf428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OMPython/ModelicaSystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2097,7 +2097,7 @@ def worker(worker_id, task_queue):
20972097
logger.info(f"[Worker {worker_id}] Performing task: {resultpath.name}")
20982098

20992099
try:
2100-
returncode = self._mod.get_session().run_model_executable(cmd_run_data=cmd_definition)
2100+
returncode = self.session().run_model_executable(cmd_run_data=cmd_definition)
21012101
logger.info(f"[Worker {worker_id}] Simulation {resultpath.name} "
21022102
f"finished with return code: {returncode}")
21032103
except ModelicaSystemError as ex:

0 commit comments

Comments
 (0)