Skip to content

Commit 2aab143

Browse files
committed
[ModelicaSystemDoE] fix rebase fallout
1 parent 66b2b76 commit 2aab143

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

OMPython/ModelicaSystem.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1840,7 +1840,7 @@ def prepare(self) -> int:
18401840
self._sim_dict[resfilename] = df_data
18411841

18421842
mscmd = mod_structure.simulate_cmd(
1843-
resultfile=resultfile.absolute().resolve(),
1843+
result_file=resultfile.absolute().resolve(),
18441844
timeout=self._timeout,
18451845
)
18461846
if self._simargs is not None:
@@ -1988,12 +1988,12 @@ def get_solutions(
19881988
continue
19891989

19901990
if var_list is None:
1991-
var_list_row = list(self._mod.getSolutions(resultfile=resultfile))
1991+
var_list_row = list(self._mod.getSolutions(resultfile=resultfile.as_posix()))
19921992
else:
19931993
var_list_row = var_list
19941994

19951995
try:
1996-
sol = self._mod.getSolutions(varList=var_list_row, resultfile=resultfile)
1996+
sol = self._mod.getSolutions(varList=var_list_row, resultfile=resultfile.as_posix())
19971997
sol_data = {var: sol[idx] for idx, var in enumerate(var_list_row)}
19981998
sol_dict[resultfilename]['msg'] = 'Simulation available'
19991999
sol_dict[resultfilename]['data'] = sol_data

0 commit comments

Comments
 (0)