Skip to content

Commit 90914d5

Browse files
committed
[ModelicaSystemDoE] fix rebase fallout
1 parent a1f4010 commit 90914d5

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
@@ -1838,7 +1838,7 @@ def prepare(self) -> int:
18381838
self._sim_dict[resfilename] = df_data
18391839

18401840
mscmd = mod_structure.simulate_cmd(
1841-
resultfile=resultfile.absolute().resolve(),
1841+
result_file=resultfile.absolute().resolve(),
18421842
timeout=self._timeout,
18431843
)
18441844
if self._simargs is not None:
@@ -1986,12 +1986,12 @@ def get_solutions(
19861986
continue
19871987

19881988
if var_list is None:
1989-
var_list_row = list(self._mod.getSolutions(resultfile=resultfile))
1989+
var_list_row = list(self._mod.getSolutions(resultfile=resultfile.as_posix()))
19901990
else:
19911991
var_list_row = var_list
19921992

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

0 commit comments

Comments
 (0)