Skip to content

Commit f068f39

Browse files
committed
[ModelicaSystemDoE] fix rebase fallout
1 parent d46ee45 commit f068f39

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

OMPython/ModelicaSystem.py

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

18411841
mscmd = mod_structure.simulate_cmd(
1842-
resultfile=resultfile.absolute().resolve(),
1842+
result_file=resultfile.absolute().resolve(),
18431843
timeout=self._timeout,
18441844
)
18451845
if self._simargs is not None:
@@ -1987,12 +1987,12 @@ def get_solutions(
19871987
continue
19881988

19891989
if var_list is None:
1990-
var_list_row = list(self._mod.getSolutions(resultfile=resultfile))
1990+
var_list_row = list(self._mod.getSolutions(resultfile=resultfile.as_posix()))
19911991
else:
19921992
var_list_row = var_list
19931993

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

0 commit comments

Comments
 (0)