Skip to content

Commit 7885e25

Browse files
committed
[ModelicaSystem] allow for non local execution, i.e. docker or WSL
1 parent 8580b46 commit 7885e25

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

OMPython/ModelicaSystem.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,6 @@ def __init__(
377377
self._linearized_states: list[str] = [] # linearization states list
378378

379379
if omc_process is not None:
380-
if not isinstance(omc_process, OMCProcessLocal):
381-
raise ModelicaSystemError("Invalid (local) omc process definition provided!")
382380
self._getconn = OMCSessionZMQ(omc_process=omc_process)
383381
else:
384382
self._getconn = OMCSessionZMQ(omhome=omhome)

0 commit comments

Comments
 (0)