Skip to content

Commit 3335a92

Browse files
committed
[ModelicaSystemDoE] fix missing usage of _getconn
1 parent f3e06d6 commit 3335a92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OMPython/ModelicaSystem.py

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

21062106
try:
2107-
returncode = self._mod.get_session().run_model_executable(cmd_run_data=cmd_definition)
2107+
returncode = self.session().run_model_executable(cmd_run_data=cmd_definition)
21082108
logger.info(f"[Worker {worker_id}] Simulation {resultpath.name} "
21092109
f"finished with return code: {returncode}")
21102110
except ModelicaSystemError as ex:

0 commit comments

Comments
 (0)