File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ juliacall
44matplotlib
55monotonic
66natsort
7- OMPython == 3.6
7+ OMPython == 4.0
88psutil
99simplejson
Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ def target():
267267
268268print ("Start OMC version" )
269269
270- if ompython_omhome != "" :
270+ if not docker :
271271 # Use a different OMC for running OMPython than for running the tests
272272 omhome = os .environ ["OPENMODELICAHOME" ]
273273 omc_version = check_output_log (omc_cmd + ["--version" ], stderr = subprocess .STDOUT ).decode ("ascii" ).strip ()
@@ -276,7 +276,7 @@ def target():
276276 ompython_omc_version = omc .sendExpression ('getVersion()' )
277277 os .environ ["OPENMODELICAHOME" ] = omhome
278278else :
279- omc = OMCProcessDocker (docker = docker , dockerExtraArgs = dockerExtraArgs )
279+ omc = OMCSessionZMQ (docker = docker , dockerExtraArgs = dockerExtraArgs )
280280 omhome = omc .sendExpression ('getInstallationDirectoryPath()' )
281281 omc_version = omc .sendExpression ('getVersion()' )
282282 ompython_omc_version = omc_version
You can’t perform that action at this time.
0 commit comments