Skip to content

Commit 118f591

Browse files
committed
[ModelicaSystemCmd] run session.omc_run_data_update() within run_def()
* the result is the ready-to-use definition of the command needed to run the model executable
1 parent 1a28531 commit 118f591

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
@@ -208,7 +208,7 @@ def definition(self) -> OMCSessionRunData:
208208
cmd_timeout=self._timeout,
209209
)
210210

211-
omc_run_data_updated = self._session.omc_run_data_update(omc_run_data)
211+
omc_run_data_updated = self._session.omc_run_data_update(omc_run_data, session=self._session)
212212

213213
return omc_run_data_updated
214214

0 commit comments

Comments
 (0)